Struct gstreamer::format::Percent [−][src]
pub struct Percent(pub u32);
Implementations
#[must_use = "this returns the result of the operation, without modifying the original"]pub const fn checked_add(self, rhs: Self) -> Option<Self>
[src]#[must_use = "this returns the result of the operation, without modifying the original"]pub const fn saturating_add(self, rhs: Self) -> Self
[src]#[must_use = "this returns the result of the operation, without modifying the original"]pub const fn wrapping_add(self, rhs: Self) -> Self
[src]#[must_use = "this returns the result of the operation, without modifying the original"]pub const fn checked_sub(self, rhs: Self) -> Option<Self>
[src]#[must_use = "this returns the result of the operation, without modifying the original"]pub const fn saturating_sub(self, rhs: Self) -> Self
[src]#[must_use = "this returns the result of the operation, without modifying the original"]pub const fn wrapping_sub(self, rhs: Self) -> Self
[src]Methods from Deref<Target = u32>
Trait Implementations
Deserialize this value from the given Serde deserializer. Read more
type DisplayImpl = String
type FormattedValueType = Option<Percent>
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
type Error = GlibNoneError
Auto Trait Implementations
impl RefUnwindSafe for Percent
impl UnwindSafe for Percent
Blanket Implementations
Mutably borrows from an owned value. Read more