pub struct Percentage<'s> {
pub value: Number<'s>,
}Fields§
§value: Number<'s>Trait Implementations§
Source§impl<'s> Clone for Percentage<'s>
impl<'s> Clone for Percentage<'s>
Source§fn clone(&self) -> Percentage<'s>
fn clone(&self) -> Percentage<'s>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'s> Debug for Percentage<'s>
impl<'s> Debug for Percentage<'s>
Source§impl<'s> PartialEq for Percentage<'s>
impl<'s> PartialEq for Percentage<'s>
Source§fn eq(&self, other: &Percentage<'s>) -> bool
fn eq(&self, other: &Percentage<'s>) -> bool
Tests for
self and other values to be equal, and is used by ==.impl<'s> StructuralPartialEq for Percentage<'s>
Auto Trait Implementations§
impl<'s> Freeze for Percentage<'s>
impl<'s> RefUnwindSafe for Percentage<'s>
impl<'s> Send for Percentage<'s>
impl<'s> Sync for Percentage<'s>
impl<'s> Unpin for Percentage<'s>
impl<'s> UnsafeUnpin for Percentage<'s>
impl<'s> UnwindSafe for Percentage<'s>
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