Enum language2::AutoindentMode
source · pub enum AutoindentMode {
EachLine,
Block {
original_indent_columns: Vec<u32>,
},
}
Variants§
EachLine
Indent each line of inserted text.
Block
Fields
Apply the same indentation adjustment to all of the lines in a given insertion.
Trait Implementations§
source§impl Clone for AutoindentMode
impl Clone for AutoindentMode
source§fn clone(&self) -> AutoindentMode
fn clone(&self) -> AutoindentMode
Returns a copy 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 moreAuto Trait Implementations§
impl RefUnwindSafe for AutoindentMode
impl Send for AutoindentMode
impl Sync for AutoindentMode
impl Unpin for AutoindentMode
impl UnwindSafe for AutoindentMode
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