pub struct Percentage(/* private fields */);Implementations§
Trait Implementations§
Source§impl Clone for Percentage
impl Clone for Percentage
Source§fn clone(&self) -> Percentage
fn clone(&self) -> Percentage
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for Percentage
impl Debug for Percentage
Source§impl From<Percentage> for Cursor
impl From<Percentage> for Cursor
Source§fn from(value: Percentage) -> Cursor
fn from(value: Percentage) -> Cursor
Converts to this type from the input type.
Source§impl From<Percentage> for Token
impl From<Percentage> for Token
Source§fn from(value: Percentage) -> Token
fn from(value: Percentage) -> Token
Converts to this type from the input type.
Source§impl From<Percentage> for f32
impl From<Percentage> for f32
Source§fn from(percentage: Percentage) -> Self
fn from(percentage: Percentage) -> Self
Converts to this type from the input type.
Source§impl From<Percentage> for i32
impl From<Percentage> for i32
Source§fn from(percentage: Percentage) -> Self
fn from(percentage: Percentage) -> Self
Converts to this type from the input type.
Source§impl Hash for Percentage
impl Hash for Percentage
Source§impl Ord for Percentage
impl Ord for Percentage
Source§fn cmp(&self, other: &Percentage) -> Ordering
fn cmp(&self, other: &Percentage) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl<'a> Parse<'a> for Percentage
impl<'a> Parse<'a> for Percentage
Source§impl PartialEq for Percentage
impl PartialEq for Percentage
Source§impl PartialOrd for Percentage
impl PartialOrd for Percentage
Source§impl<'a> Peek<'a> for Percentage
impl<'a> Peek<'a> for Percentage
Source§impl ToCursors for Percentage
impl ToCursors for Percentage
fn to_cursors(&self, s: &mut impl CursorSink)
Source§impl ToNumberValue for Percentage
impl ToNumberValue for Percentage
fn to_number_value(&self) -> Option<f32>
fn to_int_value(&self) -> Option<i32>
impl Copy for Percentage
impl Eq for Percentage
impl StructuralPartialEq for Percentage
Auto Trait Implementations§
impl Freeze for Percentage
impl RefUnwindSafe for Percentage
impl Send for Percentage
impl Sync for Percentage
impl Unpin for Percentage
impl UnwindSafe for Percentage
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more