pub struct WhenContext(/* private fields */);Expand description
The current context: focus, view, selection… as named values, each at the depth of the scope that set it.
Implementations§
Trait Implementations§
Source§impl Clone for WhenContext
impl Clone for WhenContext
Source§fn clone(&self) -> WhenContext
fn clone(&self) -> WhenContext
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 moreSource§impl Debug for WhenContext
impl Debug for WhenContext
Source§impl Default for WhenContext
impl Default for WhenContext
Source§fn default() -> WhenContext
fn default() -> WhenContext
Returns the “default value” for a type. Read more
Source§impl PartialEq for WhenContext
impl PartialEq for WhenContext
Source§impl Serialize for WhenContext
impl Serialize for WhenContext
impl StructuralPartialEq for WhenContext
Auto Trait Implementations§
impl Freeze for WhenContext
impl RefUnwindSafe for WhenContext
impl Send for WhenContext
impl Sync for WhenContext
impl Unpin for WhenContext
impl UnsafeUnpin for WhenContext
impl UnwindSafe for WhenContext
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