pub struct ClassNameV0 { /* private fields */ }Expand description
A CSS class name with authored and decoded spellings.
Equality is intentionally available only through ClassNameV0::same_as.
This keeps raw spelling equality from becoming an accidental join key.
ⓘ
use omena_syntax::ident::ClassNameV0;
fn raw_structural_equality(left: &ClassNameV0, right: &ClassNameV0) -> bool {
left == right
}Implementations§
Trait Implementations§
Source§impl Clone for ClassNameV0
impl Clone for ClassNameV0
Source§fn clone(&self) -> ClassNameV0
fn clone(&self) -> ClassNameV0
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 moreAuto Trait Implementations§
impl Freeze for ClassNameV0
impl RefUnwindSafe for ClassNameV0
impl Send for ClassNameV0
impl Sync for ClassNameV0
impl Unpin for ClassNameV0
impl UnsafeUnpin for ClassNameV0
impl UnwindSafe for ClassNameV0
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