#[repr(C, u8)]pub enum IdOrClass {
Id(AzString),
Class(AzString),
}Expand description
An enum that holds either a CSS ID or a class name as a string.
Variants§
Implementations§
Trait Implementations§
Source§impl FromIterator<IdOrClass> for IdOrClassVec
impl FromIterator<IdOrClass> for IdOrClassVec
Source§impl Ord for IdOrClass
impl Ord for IdOrClass
1.21.0 (const: unstable) · 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 PartialOrd for IdOrClass
impl PartialOrd for IdOrClass
impl Eq for IdOrClass
impl StructuralPartialEq for IdOrClass
Auto Trait Implementations§
impl Freeze for IdOrClass
impl RefUnwindSafe for IdOrClass
impl Send for IdOrClass
impl Sync for IdOrClass
impl Unpin for IdOrClass
impl UnsafeUnpin for IdOrClass
impl UnwindSafe for IdOrClass
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