pub struct FileDispatchActionIds {Show 15 fields
pub stage: Option<CommandId>,
pub unstage: Option<CommandId>,
pub discard: Option<CommandId>,
pub diff: Option<CommandId>,
pub log: Option<CommandId>,
pub blame: Option<CommandId>,
pub blame_reverse: Option<CommandId>,
pub at_revision: Option<CommandId>,
pub visit_live: Option<CommandId>,
pub untrack: Option<CommandId>,
pub delete: Option<CommandId>,
pub rename: Option<CommandId>,
pub checkout: Option<CommandId>,
pub log_merged: Option<CommandId>,
pub edit_line_commit: Option<CommandId>,
}Expand description
The action:magit-global-file-* CommandIds
file_dispatch_transient’s items fire — resolved once at
install() time, same shape as DispatchActionIds.
Fields§
§stage: Option<CommandId>§unstage: Option<CommandId>§discard: Option<CommandId>§diff: Option<CommandId>§log: Option<CommandId>§blame: Option<CommandId>§blame_reverse: Option<CommandId>MG.23f2: reverse blame. Only in C-c f, not in the other-file
menu — that menu names a target by path, and reverse blame
needs a revision the path cannot carry.
at_revision: Option<CommandId>MG.28: v — this file at a revision you name.
visit_live: Option<CommandId>MG.28: V — from a blob buffer back to the live file.
untrack: Option<CommandId>MG.23d: the file operations.
delete: Option<CommandId>§rename: Option<CommandId>§checkout: Option<CommandId>MG.23d2: check the file out from a revision.
log_merged: Option<CommandId>MG.34: M — the merge that brought a commit into HEAD. Magit’s
own key for it in magit-file-dispatch.
edit_line_commit: Option<CommandId>MG.34: e — start a rebase to amend the commit that wrote the
line at the cursor. Magit’s own key, in its “More actions” group.
Trait Implementations§
Source§impl Clone for FileDispatchActionIds
impl Clone for FileDispatchActionIds
Source§fn clone(&self) -> FileDispatchActionIds
fn clone(&self) -> FileDispatchActionIds
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 FileDispatchActionIds
Source§impl Debug for FileDispatchActionIds
impl Debug for FileDispatchActionIds
Source§impl Default for FileDispatchActionIds
impl Default for FileDispatchActionIds
Source§fn default() -> FileDispatchActionIds
fn default() -> FileDispatchActionIds
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for FileDispatchActionIds
impl RefUnwindSafe for FileDispatchActionIds
impl Send for FileDispatchActionIds
impl Sync for FileDispatchActionIds
impl Unpin for FileDispatchActionIds
impl UnsafeUnpin for FileDispatchActionIds
impl UnwindSafe for FileDispatchActionIds
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more