pub struct SplitEventCommand {
pub event_index: usize,
pub split_time: String,
pub description: Option<String>,
}Expand description
Command to split an event at a specific time
Fields§
§event_index: usize§split_time: String§description: Option<String>Implementations§
Trait Implementations§
Source§impl Clone for SplitEventCommand
impl Clone for SplitEventCommand
Source§fn clone(&self) -> SplitEventCommand
fn clone(&self) -> SplitEventCommand
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 SplitEventCommand
impl Debug for SplitEventCommand
Source§impl EditorCommand for SplitEventCommand
impl EditorCommand for SplitEventCommand
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 SplitEventCommand
impl RefUnwindSafe for SplitEventCommand
impl Send for SplitEventCommand
impl Sync for SplitEventCommand
impl Unpin for SplitEventCommand
impl UnwindSafe for SplitEventCommand
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