pub struct ShellVar {
pub value: VarValue,
pub exported: bool,
pub readonly: bool,
pub integer: bool,
pub nameref: bool,
}Expand description
A shell variable with its attributes.
Fields§
§value: VarValue§exported: bool§readonly: bool§integer: booldeclare -i: auto-evaluate arithmetic on assignment.
nameref: booldeclare -n: nameref — value is the name of another variable.
Implementations§
Trait Implementations§
impl StructuralPartialEq for ShellVar
Auto Trait Implementations§
impl Freeze for ShellVar
impl RefUnwindSafe for ShellVar
impl Send for ShellVar
impl Sync for ShellVar
impl Unpin for ShellVar
impl UnsafeUnpin for ShellVar
impl UnwindSafe for ShellVar
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