pub struct On;
Expand description
A marker struct which is used in Style
.
Trait Implementations§
source§impl Ord for On
impl Ord for On
source§impl PartialOrd for On
impl PartialOrd for On
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for On
impl Eq for On
impl StructuralEq for On
impl StructuralPartialEq for On
Auto Trait Implementations§
impl RefUnwindSafe for On
impl Send for On
impl Sync for On
impl Unpin for On
impl UnwindSafe for On
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