Enum makepad_code_editor::document::IndentState
source · pub enum IndentState {
Empty(usize),
NonEmpty(usize, usize),
}
Variants§
Trait Implementations§
source§impl Clone for IndentState
impl Clone for IndentState
source§fn clone(&self) -> IndentState
fn clone(&self) -> IndentState
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 moresource§impl Debug for IndentState
impl Debug for IndentState
source§impl Hash for IndentState
impl Hash for IndentState
source§impl PartialEq<IndentState> for IndentState
impl PartialEq<IndentState> for IndentState
source§fn eq(&self, other: &IndentState) -> bool
fn eq(&self, other: &IndentState) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for IndentState
impl Eq for IndentState
impl StructuralEq for IndentState
impl StructuralPartialEq for IndentState
Auto Trait Implementations§
impl RefUnwindSafe for IndentState
impl Send for IndentState
impl Sync for IndentState
impl Unpin for IndentState
impl UnwindSafe for IndentState
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