pub struct DeleteStyleCommand {
pub style_name: String,
pub description: Option<String>,
}Expand description
Command to delete a style
Fields§
§style_name: String§description: Option<String>Implementations§
Trait Implementations§
Source§impl Clone for DeleteStyleCommand
impl Clone for DeleteStyleCommand
Source§fn clone(&self) -> DeleteStyleCommand
fn clone(&self) -> DeleteStyleCommand
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 DeleteStyleCommand
impl Debug for DeleteStyleCommand
Source§impl EditorCommand for DeleteStyleCommand
impl EditorCommand for DeleteStyleCommand
Source§fn execute(&self, document: &mut EditorDocument) -> Result<CommandResult>
fn execute(&self, document: &mut EditorDocument) -> Result<CommandResult>
Execute the command on the given document Read more
Source§fn description(&self) -> &str
fn description(&self) -> &str
Get a human-readable description of the command
Source§fn memory_usage(&self) -> usize
fn memory_usage(&self) -> usize
Get the estimated memory usage of this command Read more
Source§fn modifies_content(&self) -> bool
fn modifies_content(&self) -> bool
Check if this command modifies document content Read more
Auto Trait Implementations§
impl Freeze for DeleteStyleCommand
impl RefUnwindSafe for DeleteStyleCommand
impl Send for DeleteStyleCommand
impl Sync for DeleteStyleCommand
impl Unpin for DeleteStyleCommand
impl UnwindSafe for DeleteStyleCommand
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