pub struct Px(/* private fields */);
Expand description
Represents a token with Kind::Dimension where the dimension unit was px
. Use
T![Dimension::Px] to refer to this.
Implementations§
Trait Implementations§
Source§impl Ord for Px
impl Ord for Px
Source§impl PartialOrd for Px
impl PartialOrd for Px
Source§impl ToCursors for Px
impl ToCursors for Px
fn to_cursors(&self, s: &mut impl CursorSink)
Source§impl ToNumberValue for Px
impl ToNumberValue for Px
fn to_number_value(&self) -> Option<f32>
fn to_int_value(&self) -> Option<i32>
impl Copy for Px
impl Eq for Px
impl StructuralPartialEq for Px
Auto Trait Implementations§
impl Freeze for Px
impl RefUnwindSafe for Px
impl Send for Px
impl Sync for Px
impl Unpin for Px
impl UnwindSafe for Px
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