pub struct UsedType {
pub interface: InterfaceId,
pub name: Option<String>,
}Expand description
Represents a used type.
Fields§
§interface: InterfaceIdThe interface the type was used from.
name: Option<String>The original export name.
This is None when the type was not renamed with an as clause.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for UsedType
impl RefUnwindSafe for UsedType
impl Send for UsedType
impl Sync for UsedType
impl Unpin for UsedType
impl UnwindSafe for UsedType
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)