pub enum CustomPropertyName {
Custom(DashedIdent),
Unknown(Ident),
}Expand description
A CSS custom property name.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for CustomPropertyName
impl Clone for CustomPropertyName
Source§fn clone(&self) -> CustomPropertyName
fn clone(&self) -> CustomPropertyName
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 moreimpl Copy for CustomPropertyName
Source§impl Debug for CustomPropertyName
impl Debug for CustomPropertyName
Source§impl<'__bump> DeepClone<'__bump> for CustomPropertyName
impl<'__bump> DeepClone<'__bump> for CustomPropertyName
fn deep_clone(&self, __bump: &'__bump Arena) -> Self
Auto Trait Implementations§
impl !Send for CustomPropertyName
impl !Sync for CustomPropertyName
impl Freeze for CustomPropertyName
impl RefUnwindSafe for CustomPropertyName
impl Unpin for CustomPropertyName
impl UnsafeUnpin for CustomPropertyName
impl UnwindSafe for CustomPropertyName
Blanket Implementations§
Source§impl<T> AsCtxPtr for Twhere
T: ?Sized,
impl<T> AsCtxPtr for Twhere
T: ?Sized,
Source§fn as_ctx_ptr(&self) -> *mut Selfwhere
Self: Sized,
fn as_ctx_ptr(&self) -> *mut Selfwhere
Self: Sized,
self’s address as *mut Self for deferred-task / scopeguard /
ref_guard ctx slots. The closures/trampolines deref it as shared
(&*p) — every method they reach is &self post-R-2, so no write
provenance is required; the *mut spelling is purely to match the
existing DerefOnDrop / HasAutoFlush / RefCount ABI.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