Struct freya::prelude::EditableConfig
pub struct EditableConfig { /* private fields */ }
Expand description
Create a configuration for a UseEditable
.
Implementations§
§impl EditableConfig
impl EditableConfig
pub fn new(content: String) -> EditableConfig
pub fn new(content: String) -> EditableConfig
Create a EditableConfig
.
pub fn with_cursor(self, _: (usize, usize)) -> EditableConfig
pub fn with_cursor(self, _: (usize, usize)) -> EditableConfig
Specify a custom initial cursor positions.
Auto Trait Implementations§
impl RefUnwindSafe for EditableConfig
impl Send for EditableConfig
impl Sync for EditableConfig
impl Unpin for EditableConfig
impl UnwindSafe for EditableConfig
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