pub struct CommandContext {
pub phase: InteractionPhase,
pub capabilities: ReviewCapabilities,
pub repository_pending: bool,
pub document_ready: bool,
pub navigation_available: bool,
pub themes_available: bool,
}Fields§
§phase: InteractionPhase§capabilities: ReviewCapabilities§repository_pending: bool§document_ready: bool§themes_available: boolTrait Implementations§
Source§impl Clone for CommandContext
impl Clone for CommandContext
Source§fn clone(&self) -> CommandContext
fn clone(&self) -> CommandContext
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 CommandContext
Source§impl Debug for CommandContext
impl Debug for CommandContext
Source§impl Default for CommandContext
impl Default for CommandContext
impl Eq for CommandContext
Source§impl PartialEq for CommandContext
impl PartialEq for CommandContext
impl StructuralPartialEq for CommandContext
Auto Trait Implementations§
impl Freeze for CommandContext
impl RefUnwindSafe for CommandContext
impl Send for CommandContext
impl Sync for CommandContext
impl Unpin for CommandContext
impl UnsafeUnpin for CommandContext
impl UnwindSafe for CommandContext
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