pub struct TypedGlobal {
pub name: Ident,
pub mangled_name: MangledName,
pub ty: Type,
pub kind: GlobalKind,
pub doc: Option<DocComment>,
pub span: Span,
}Fields§
§name: Ident§mangled_name: MangledName§ty: Type§kind: GlobalKind§doc: Option<DocComment>§span: SpanTrait Implementations§
Source§impl Clone for TypedGlobal
impl Clone for TypedGlobal
Source§impl Debug for TypedGlobal
impl Debug for TypedGlobal
Source§impl PartialEq for TypedGlobal
impl PartialEq for TypedGlobal
impl StructuralPartialEq for TypedGlobal
Auto Trait Implementations§
impl Freeze for TypedGlobal
impl RefUnwindSafe for TypedGlobal
impl Send for TypedGlobal
impl Sync for TypedGlobal
impl Unpin for TypedGlobal
impl UnsafeUnpin for TypedGlobal
impl UnwindSafe for TypedGlobal
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