pub struct BlankLines {
pub between_declarations: usize,
pub between_routines: usize,
pub before_begin: usize,
pub after_end: usize,
pub before_case: usize,
pub after_case: usize,
pub max_consecutive: usize,
}Expand description
Blank line configuration
Fields§
§between_declarations: usizeLines between top-level declarations
between_routines: usizeLines between procedures/functions
before_begin: usizeLines before begin blocks
after_end: usizeLines after end statements
before_case: usizeLines before case statements
after_case: usizeLines after case statements
max_consecutive: usizeMaximum consecutive blank lines
Trait Implementations§
Source§impl Clone for BlankLines
impl Clone for BlankLines
Source§fn clone(&self) -> BlankLines
fn clone(&self) -> BlankLines
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 moreSource§impl Debug for BlankLines
impl Debug for BlankLines
Source§impl Default for BlankLines
impl Default for BlankLines
Source§impl<'de> Deserialize<'de> for BlankLines
impl<'de> Deserialize<'de> for BlankLines
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for BlankLines
impl PartialEq for BlankLines
Source§impl Serialize for BlankLines
impl Serialize for BlankLines
impl StructuralPartialEq for BlankLines
Auto Trait Implementations§
impl Freeze for BlankLines
impl RefUnwindSafe for BlankLines
impl Send for BlankLines
impl Sync for BlankLines
impl Unpin for BlankLines
impl UnsafeUnpin for BlankLines
impl UnwindSafe for BlankLines
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more