pub enum IndentUnit {
Tab,
Spaces(u32),
}Expand description
Indent unit used by SelectionEdit::Indent / SelectionEdit::Outdent.
Variants§
Trait Implementations§
Source§impl Clone for IndentUnit
impl Clone for IndentUnit
Source§fn clone(&self) -> IndentUnit
fn clone(&self) -> IndentUnit
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for IndentUnit
Source§impl Debug for IndentUnit
impl Debug for IndentUnit
impl Eq for IndentUnit
Source§impl PartialEq for IndentUnit
impl PartialEq for IndentUnit
impl StructuralPartialEq for IndentUnit
Auto Trait Implementations§
impl Freeze for IndentUnit
impl RefUnwindSafe for IndentUnit
impl Send for IndentUnit
impl Sync for IndentUnit
impl Unpin for IndentUnit
impl UnsafeUnpin for IndentUnit
impl UnwindSafe for IndentUnit
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