pub struct EmptyLookupTable(pub [&'static str; 0]);Expand description
A lookup table with zero entries
Tuple Fields§
§0: [&'static str; 0]Trait Implementations§
Source§impl Clone for EmptyLookupTable
impl Clone for EmptyLookupTable
Source§fn clone(&self) -> EmptyLookupTable
fn clone(&self) -> EmptyLookupTable
Returns a duplicate of the value. Read more
1.0.0 · 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 EmptyLookupTable
impl Debug for EmptyLookupTable
Source§impl Default for EmptyLookupTable
impl Default for EmptyLookupTable
Source§fn default() -> EmptyLookupTable
fn default() -> EmptyLookupTable
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for EmptyLookupTable
impl<'de> Deserialize<'de> for EmptyLookupTable
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for EmptyLookupTable
impl Display for EmptyLookupTable
Source§impl From<EmptyLookupTable> for CountryTable
impl From<EmptyLookupTable> for CountryTable
Source§fn from(t: EmptyLookupTable) -> Self
fn from(t: EmptyLookupTable) -> Self
Converts to this type from the input type.
Source§impl LookupTable for EmptyLookupTable
impl LookupTable for EmptyLookupTable
Source§impl Ord for EmptyLookupTable
impl Ord for EmptyLookupTable
Source§fn cmp(&self, other: &EmptyLookupTable) -> Ordering
fn cmp(&self, other: &EmptyLookupTable) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl<L: LookupTable> PartialEq<L> for EmptyLookupTable
impl<L: LookupTable> PartialEq<L> for EmptyLookupTable
Source§impl<L: LookupTable> PartialOrd<L> for EmptyLookupTable
impl<L: LookupTable> PartialOrd<L> for EmptyLookupTable
Source§impl Serialize for EmptyLookupTable
impl Serialize for EmptyLookupTable
impl Copy for EmptyLookupTable
impl Eq for EmptyLookupTable
Auto Trait Implementations§
impl Freeze for EmptyLookupTable
impl RefUnwindSafe for EmptyLookupTable
impl Send for EmptyLookupTable
impl Sync for EmptyLookupTable
impl Unpin for EmptyLookupTable
impl UnsafeUnpin for EmptyLookupTable
impl UnwindSafe for EmptyLookupTable
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