Struct todo_file::EditContext
source · pub struct EditContext { /* private fields */ }
Expand description
Describes a edit context for modifying a line.
Implementations§
source§impl EditContext
impl EditContext
sourcepub const fn get_action(&self) -> Option<Action>
pub const fn get_action(&self) -> Option<Action>
Get the action.
sourcepub fn get_content(&self) -> Option<&str>
pub fn get_content(&self) -> Option<&str>
Get the content.
sourcepub fn get_option(&self) -> Option<&str>
pub fn get_option(&self) -> Option<&str>
Get the option.
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for EditContext
impl Send for EditContext
impl Sync for EditContext
impl Unpin for EditContext
impl UnwindSafe for EditContext
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