Struct ide_db::imports::insert_use::InsertUseConfig
source · pub struct InsertUseConfig {
pub granularity: ImportGranularity,
pub enforce_granularity: bool,
pub prefix_kind: PrefixKind,
pub group: bool,
pub skip_glob_imports: bool,
}
Fields§
§granularity: ImportGranularity
§enforce_granularity: bool
§prefix_kind: PrefixKind
§group: bool
§skip_glob_imports: bool
Trait Implementations§
source§impl Clone for InsertUseConfig
impl Clone for InsertUseConfig
source§fn clone(&self) -> InsertUseConfig
fn clone(&self) -> InsertUseConfig
Returns a copy 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 InsertUseConfig
impl Debug for InsertUseConfig
source§impl PartialEq for InsertUseConfig
impl PartialEq for InsertUseConfig
source§fn eq(&self, other: &InsertUseConfig) -> bool
fn eq(&self, other: &InsertUseConfig) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for InsertUseConfig
impl Eq for InsertUseConfig
impl StructuralPartialEq for InsertUseConfig
Auto Trait Implementations§
impl RefUnwindSafe for InsertUseConfig
impl Send for InsertUseConfig
impl Sync for InsertUseConfig
impl Unpin for InsertUseConfig
impl UnwindSafe for InsertUseConfig
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
§impl<T> Cast for T
impl<T> Cast for T
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.