pub struct RemoveFontCommand {
pub filename: String,
}Expand description
Command to remove an embedded font from the ASS document
Removes a font by filename from the [Fonts] section.
Fields§
§filename: StringFont filename to remove
Implementations§
Trait Implementations§
Source§impl Clone for RemoveFontCommand
impl Clone for RemoveFontCommand
Source§fn clone(&self) -> RemoveFontCommand
fn clone(&self) -> RemoveFontCommand
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 moreSource§impl Debug for RemoveFontCommand
impl Debug for RemoveFontCommand
Source§impl EditorCommand for RemoveFontCommand
impl EditorCommand for RemoveFontCommand
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
impl Eq for RemoveFontCommand
Source§impl PartialEq for RemoveFontCommand
impl PartialEq for RemoveFontCommand
Source§fn eq(&self, other: &RemoveFontCommand) -> bool
fn eq(&self, other: &RemoveFontCommand) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for RemoveFontCommand
Auto Trait Implementations§
impl Freeze for RemoveFontCommand
impl RefUnwindSafe for RemoveFontCommand
impl Send for RemoveFontCommand
impl Sync for RemoveFontCommand
impl Unpin for RemoveFontCommand
impl UnsafeUnpin for RemoveFontCommand
impl UnwindSafe for RemoveFontCommand
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