pub enum OpCode<'a> {
NewSnippet(&'a SnippetLocation),
AddSnippet(String, &'a SnippetLocation),
ListSnippets(bool),
PullSnippets,
SaveSnippets,
}
Variants§
NewSnippet(&'a SnippetLocation)
AddSnippet(String, &'a SnippetLocation)
ListSnippets(bool)
PullSnippets
SaveSnippets
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for OpCode<'a>
impl<'a> RefUnwindSafe for OpCode<'a>
impl<'a> Send for OpCode<'a>
impl<'a> Sync for OpCode<'a>
impl<'a> Unpin for OpCode<'a>
impl<'a> UnwindSafe for OpCode<'a>
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