pub struct ApiUse {
pub name: String,
pub from: String,
pub original: String,
}Expand description
A type an interface imports from another with use.
Fields§
§name: StringThe name it is known by in this interface (after any as rename).
from: StringThe interface that defines it.
original: StringIts name in the defining interface.
Trait Implementations§
impl Eq for ApiUse
impl StructuralPartialEq for ApiUse
Auto Trait Implementations§
impl Freeze for ApiUse
impl RefUnwindSafe for ApiUse
impl Send for ApiUse
impl Sync for ApiUse
impl Unpin for ApiUse
impl UnsafeUnpin for ApiUse
impl UnwindSafe for ApiUse
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