pub struct RubyConfig {
pub max_lines: usize,
pub ignore_comments: bool,
pub ignore_heredocs: bool,
pub comment_spacing: bool,
}Expand description
Configuration for ruby decree
Fields§
§max_lines: usize§ignore_comments: bool§ignore_heredocs: boolExempt heredoc bodies from line-too-long (RuboCop’s AllowHeredoc).
comment_spacing: boolTrait Implementations§
Source§impl Clone for RubyConfig
impl Clone for RubyConfig
Source§impl Debug for RubyConfig
impl Debug for RubyConfig
Auto Trait Implementations§
impl Forget for RubyConfig
impl Freeze for RubyConfig
impl Move for RubyConfig
impl RefUnwindSafe for RubyConfig
impl Send for RubyConfig
impl Sync for RubyConfig
impl Unpin for RubyConfig
impl UnsafeUnpin for RubyConfig
impl UnwindSafe for RubyConfig
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> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
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