pub struct Name {
pub module: Option<String>,
pub name: String,
}Expand description
The name of a variable (module variables and host-declared variables include the module (namespace)).
Fields§
§module: Option<String>The module (the namespace for host-declared variables). None for local variables.
name: StringThe name of the variable (without the module).
Trait Implementations§
impl Eq for Name
impl StructuralPartialEq for Name
Auto Trait Implementations§
impl Forget for Name
impl Freeze for Name
impl Move for Name
impl RefUnwindSafe for Name
impl Send for Name
impl Sync for Name
impl Unpin for Name
impl UnsafeUnpin for Name
impl UnwindSafe for Name
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