pub struct ImportOrganizer {
pub preserve_comments: bool,
pub group_external_crates: bool,
pub sort_within_groups: bool,
}Fields§
§preserve_comments: bool§group_external_crates: bool§sort_within_groups: boolImplementations§
Auto Trait Implementations§
impl Freeze for ImportOrganizer
impl RefUnwindSafe for ImportOrganizer
impl Send for ImportOrganizer
impl Sync for ImportOrganizer
impl Unpin for ImportOrganizer
impl UnsafeUnpin for ImportOrganizer
impl UnwindSafe for ImportOrganizer
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> 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