Enum schema_ast::ast::IndentationType
source · pub enum IndentationType {
Tabs,
Spaces(usize),
}
Expand description
Defines the indentation of a PSL block.
Variants§
Trait Implementations§
source§impl Clone for IndentationType
impl Clone for IndentationType
source§fn clone(&self) -> IndentationType
fn clone(&self) -> IndentationType
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 IndentationType
impl Debug for IndentationType
source§impl Default for IndentationType
impl Default for IndentationType
source§impl Display for IndentationType
impl Display for IndentationType
source§impl PartialEq for IndentationType
impl PartialEq for IndentationType
source§fn eq(&self, other: &IndentationType) -> bool
fn eq(&self, other: &IndentationType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for IndentationType
impl StructuralPartialEq for IndentationType
Auto Trait Implementations§
impl RefUnwindSafe for IndentationType
impl Send for IndentationType
impl Sync for IndentationType
impl Unpin for IndentationType
impl UnwindSafe for IndentationType
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