pub struct ShowEnvironmentEntry {
pub name: String,
pub value: Option<String>,
pub flags: u8,
pub value_is_display_escape: bool,
}Expand description
Renderable show-environment entry with tmux-compatible flags and tombstones.
Fields§
§name: StringEnvironment variable name.
value: Option<String>Stored value, or None for a cleared tombstone.
flags: u8tmux-compatible entry flags.
value_is_display_escape: boolWhether value already contains tmux-style display escapes for raw bytes.
Implementations§
Source§impl ShowEnvironmentEntry
impl ShowEnvironmentEntry
Returns whether the entry is hidden from normal show-environment output.
Sourcepub const fn is_cleared(&self) -> bool
pub const fn is_cleared(&self) -> bool
Returns whether the entry is a cleared tombstone.
Trait Implementations§
Source§impl Clone for ShowEnvironmentEntry
impl Clone for ShowEnvironmentEntry
Source§fn clone(&self) -> ShowEnvironmentEntry
fn clone(&self) -> ShowEnvironmentEntry
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ShowEnvironmentEntry
impl Debug for ShowEnvironmentEntry
impl Eq for ShowEnvironmentEntry
Source§impl PartialEq for ShowEnvironmentEntry
impl PartialEq for ShowEnvironmentEntry
impl StructuralPartialEq for ShowEnvironmentEntry
Auto Trait Implementations§
impl Freeze for ShowEnvironmentEntry
impl RefUnwindSafe for ShowEnvironmentEntry
impl Send for ShowEnvironmentEntry
impl Sync for ShowEnvironmentEntry
impl Unpin for ShowEnvironmentEntry
impl UnsafeUnpin for ShowEnvironmentEntry
impl UnwindSafe for ShowEnvironmentEntry
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