pub struct SignatureBackedType {
pub path: PathBuf,
pub export_name: String,
pub backing: SignatureBacking,
}Expand description
A type export that unused-type keeps because a same-file signature uses
it. The analysis records it so that a trace can give the same reason.
Fields§
§path: PathBufThe file of the type export.
export_name: StringThe name of the type export.
backing: SignatureBackingThe backing exports and the reason.
Trait Implementations§
Source§impl Clone for SignatureBackedType
impl Clone for SignatureBackedType
Source§impl Debug for SignatureBackedType
impl Debug for SignatureBackedType
impl Eq for SignatureBackedType
Source§impl PartialEq for SignatureBackedType
impl PartialEq for SignatureBackedType
impl StructuralPartialEq for SignatureBackedType
Auto Trait Implementations§
impl Forget for SignatureBackedType
impl Freeze for SignatureBackedType
impl Move for SignatureBackedType
impl RefUnwindSafe for SignatureBackedType
impl Send for SignatureBackedTypewhere
RawVecInner: Send,
impl Sync for SignatureBackedTypewhere
RawVecInner: Sync,
impl Unpin for SignatureBackedType
impl UnsafeUnpin for SignatureBackedTypewhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
impl UnwindSafe for SignatureBackedTypewhere
RawVecInner: UnwindSafe,
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.