pub struct BatchCmd {
pub commands: Vec<Command>,
pub label: Option<String>,
}Expand description
A group of commands applied and undone as a single unit.
Fields§
§commands: Vec<Command>§label: Option<String>Optional i18n key / display label override shown in the undo menu.
E.g. "ApplyAI", "PasteSelection". None falls back to "Batch".
Trait Implementations§
Source§impl<'de> Deserialize<'de> for BatchCmd
impl<'de> Deserialize<'de> for BatchCmd
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for BatchCmd
impl RefUnwindSafe for BatchCmd
impl Send for BatchCmd
impl Sync for BatchCmd
impl Unpin for BatchCmd
impl UnsafeUnpin for BatchCmd
impl UnwindSafe for BatchCmd
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