pub struct ConstructIndentRule {
pub construct_name: String,
pub body_indent: usize,
pub continuation_indent: usize,
pub hanging_indent: usize,
}Expand description
Indent rule for a specific construct.
Fields§
§construct_name: String§body_indent: usize§continuation_indent: usize§hanging_indent: usizeImplementations§
Trait Implementations§
Source§impl Clone for ConstructIndentRule
impl Clone for ConstructIndentRule
Source§fn clone(&self) -> ConstructIndentRule
fn clone(&self) -> ConstructIndentRule
Returns a duplicate 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 Freeze for ConstructIndentRule
impl RefUnwindSafe for ConstructIndentRule
impl Send for ConstructIndentRule
impl Sync for ConstructIndentRule
impl Unpin for ConstructIndentRule
impl UnsafeUnpin for ConstructIndentRule
impl UnwindSafe for ConstructIndentRule
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