pub struct TypeImpactV2 {
pub direct_usages: Vec<u32>,
pub bound_usages: Vec<u32>,
pub containing_types: Vec<SymbolId>,
pub generic_usages: Vec<u32>,
}Expand description
Impact of changing a type.
Fields§
§direct_usages: Vec<u32>Direct usage indices.
bound_usages: Vec<u32>Trait bound indices.
containing_types: Vec<SymbolId>Types that contain this type as a field.
generic_usages: Vec<u32>Generic usage indices.
Trait Implementations§
Source§impl Clone for TypeImpactV2
impl Clone for TypeImpactV2
Source§fn clone(&self) -> TypeImpactV2
fn clone(&self) -> TypeImpactV2
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 moreSource§impl Debug for TypeImpactV2
impl Debug for TypeImpactV2
Source§impl Default for TypeImpactV2
impl Default for TypeImpactV2
Source§fn default() -> TypeImpactV2
fn default() -> TypeImpactV2
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for TypeImpactV2
impl RefUnwindSafe for TypeImpactV2
impl Send for TypeImpactV2
impl Sync for TypeImpactV2
impl Unpin for TypeImpactV2
impl UnsafeUnpin for TypeImpactV2
impl UnwindSafe for TypeImpactV2
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> 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