pub struct GlobalDef {
pub name: String,
pub kind: GlobalDefKind,
}Expand description
Descriptor for a single global variable to be pre-defined before compilation.
Fields§
§name: StringName of the variable (case-insensitive, as in EndBASIC).
kind: GlobalDefKindKind and type information for the variable.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for GlobalDef
impl RefUnwindSafe for GlobalDef
impl Send for GlobalDef
impl Sync for GlobalDef
impl Unpin for GlobalDef
impl UnsafeUnpin for GlobalDef
impl UnwindSafe for GlobalDef
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