pub struct OwnedDef {
pub id: GlobalDefId,
pub name: String,
pub kind: ItemKind,
pub vis: VisKind,
pub has_value_ctor: bool,
}Fields§
§id: GlobalDefId§name: String§kind: ItemKind§vis: VisKind§has_value_ctor: boolTrait Implementations§
Auto Trait Implementations§
impl Forget for OwnedDef
impl Freeze for OwnedDef
impl Move for OwnedDef
impl RefUnwindSafe for OwnedDef
impl Send for OwnedDefwhere
RawVecInner: Send,
impl Sync for OwnedDefwhere
RawVecInner: Sync,
impl Unpin for OwnedDef
impl UnsafeUnpin for OwnedDef
impl UnwindSafe for OwnedDefwhere
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