Struct todo_file::EditContext
source · [−]pub struct EditContext { /* private fields */ }
Expand description
Describes a edit context for modifying a line.
Implementations
sourceimpl EditContext
impl EditContext
sourcepub const fn get_action(&self) -> &Option<Action>
pub const fn get_action(&self) -> &Option<Action>
Get the action.
sourcepub const fn get_content(&self) -> &Option<String>
pub const fn get_content(&self) -> &Option<String>
Get the content.
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more