pub struct StaticTableEntry {
pub name: &'static str,
pub value: &'static str,
}Expand description
Static-table entry.
Fields§
§name: &'static strHeader name.
value: &'static strDefault value (may be empty).
Trait Implementations§
Source§impl Clone for StaticTableEntry
impl Clone for StaticTableEntry
Source§fn clone(&self) -> StaticTableEntry
fn clone(&self) -> StaticTableEntry
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 moreimpl Copy for StaticTableEntry
Source§impl Debug for StaticTableEntry
impl Debug for StaticTableEntry
impl Eq for StaticTableEntry
Source§impl PartialEq for StaticTableEntry
impl PartialEq for StaticTableEntry
Source§fn eq(&self, other: &StaticTableEntry) -> bool
fn eq(&self, other: &StaticTableEntry) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for StaticTableEntry
Auto Trait Implementations§
impl Freeze for StaticTableEntry
impl RefUnwindSafe for StaticTableEntry
impl Send for StaticTableEntry
impl Sync for StaticTableEntry
impl Unpin for StaticTableEntry
impl UnsafeUnpin for StaticTableEntry
impl UnwindSafe for StaticTableEntry
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