pub struct IndentLevel {
pub val: usize,
}
Fields§
§val: usize
Implementations§
Source§impl IndentLevel
impl IndentLevel
pub fn new(val: usize) -> IndentLevel
Trait Implementations§
Source§impl Clone for IndentLevel
impl Clone for IndentLevel
Source§fn clone(&self) -> IndentLevel
fn clone(&self) -> IndentLevel
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 IndentLevel
impl Debug for IndentLevel
Source§impl PartialEq for IndentLevel
impl PartialEq for IndentLevel
impl StructuralPartialEq for IndentLevel
Auto Trait Implementations§
impl Freeze for IndentLevel
impl RefUnwindSafe for IndentLevel
impl Send for IndentLevel
impl Sync for IndentLevel
impl Unpin for IndentLevel
impl UnwindSafe for IndentLevel
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