pub enum ContextSpec {
List,
Detail,
View(LitStr),
}Expand description
Where an appearance rule applies.
Variants§
Trait Implementations§
Source§impl Clone for ContextSpec
impl Clone for ContextSpec
Source§fn clone(&self) -> ContextSpec
fn clone(&self) -> ContextSpec
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 !Send for ContextSpec
impl !Sync for ContextSpec
impl Freeze for ContextSpec
impl RefUnwindSafe for ContextSpec
impl Unpin for ContextSpec
impl UnsafeUnpin for ContextSpec
impl UnwindSafe for ContextSpec
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