#[non_exhaustive]pub struct CombinedRawLineFormatOptions {
pub combined_all_paths: bool,
pub quote_fully: bool,
}Expand description
Formatting switches for format_combined_raw_line_all_paths_with_options.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.combined_all_paths: boolEmit every parent’s source path before the merge path on rename sides.
quote_fully: boolC-quote path components with quote_path::quote_c_style.
Implementations§
Source§impl CombinedRawLineFormatOptions
impl CombinedRawLineFormatOptions
Sourcepub fn with_combined_all_paths(self, combined_all_paths: bool) -> Self
pub fn with_combined_all_paths(self, combined_all_paths: bool) -> Self
Sets combined_all_paths.
Sourcepub fn with_quote_fully(self, quote_fully: bool) -> Self
pub fn with_quote_fully(self, quote_fully: bool) -> Self
Sets quote_fully.
Trait Implementations§
Source§impl Clone for CombinedRawLineFormatOptions
impl Clone for CombinedRawLineFormatOptions
impl Copy for CombinedRawLineFormatOptions
Source§impl Debug for CombinedRawLineFormatOptions
impl Debug for CombinedRawLineFormatOptions
impl Eq for CombinedRawLineFormatOptions
impl StructuralPartialEq for CombinedRawLineFormatOptions
Auto Trait Implementations§
impl Forget for CombinedRawLineFormatOptions
impl Freeze for CombinedRawLineFormatOptions
impl RefUnwindSafe for CombinedRawLineFormatOptions
impl Send for CombinedRawLineFormatOptions
impl Sync for CombinedRawLineFormatOptions
impl Unpin for CombinedRawLineFormatOptions
impl UnsafeUnpin for CombinedRawLineFormatOptions
impl UnwindSafe for CombinedRawLineFormatOptions
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.