pub enum ContextPush {
One(ContextSpec),
Many(Vec<ContextSpec>),
}Expand description
A specification of contexts to push/set.
Variants§
Trait Implementations§
Source§impl Clone for ContextPush
impl Clone for ContextPush
Source§fn clone(&self) -> ContextPush
fn clone(&self) -> ContextPush
Returns a duplicate of the value. Read more
1.0.0 · 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 ContextPush
impl RefUnwindSafe for ContextPush
impl Send for ContextPush
impl Sync for ContextPush
impl Unpin for ContextPush
impl UnsafeUnpin for ContextPush
impl UnwindSafe for ContextPush
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