pub struct SingleLineOpts {
pub parameter_list: bool,
pub type_parameter_list: bool,
}Expand description
The two single-line-* directive flags (_object.py:180-181); each
suppresses only its own list ([SIG §1.5], probes D1/D2).
Fields§
§parameter_list: bool:single-line-parameter-list: present.
type_parameter_list: bool:single-line-type-parameter-list: present.
Trait Implementations§
Source§impl Clone for SingleLineOpts
impl Clone for SingleLineOpts
Source§fn clone(&self) -> SingleLineOpts
fn clone(&self) -> SingleLineOpts
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for SingleLineOpts
Source§impl Debug for SingleLineOpts
impl Debug for SingleLineOpts
Source§impl Default for SingleLineOpts
impl Default for SingleLineOpts
Source§fn default() -> SingleLineOpts
fn default() -> SingleLineOpts
Returns the “default value” for a type. Read more
impl Eq for SingleLineOpts
Source§impl PartialEq for SingleLineOpts
impl PartialEq for SingleLineOpts
impl StructuralPartialEq for SingleLineOpts
Auto Trait Implementations§
impl Freeze for SingleLineOpts
impl RefUnwindSafe for SingleLineOpts
impl Send for SingleLineOpts
impl Sync for SingleLineOpts
impl Unpin for SingleLineOpts
impl UnsafeUnpin for SingleLineOpts
impl UnwindSafe for SingleLineOpts
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.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