pub struct WildcardId;Expand description
Module identifier that has a single possible value, which is displayed as *.
This type is a ModuleId-compatible replacement of (); () does not implement Display
and thus cannot implement ModuleId directly.
Trait Implementations§
Source§impl Clone for WildcardId
impl Clone for WildcardId
Source§fn clone(&self) -> WildcardId
fn clone(&self) -> WildcardId
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 WildcardId
impl Debug for WildcardId
Source§impl Default for WildcardId
impl Default for WildcardId
Source§fn default() -> WildcardId
fn default() -> WildcardId
Returns the “default value” for a type. Read more
Source§impl Display for WildcardId
impl Display for WildcardId
Source§impl Hash for WildcardId
impl Hash for WildcardId
Source§impl PartialEq for WildcardId
impl PartialEq for WildcardId
impl Copy for WildcardId
impl Eq for WildcardId
impl ModuleId for WildcardId
impl StructuralPartialEq for WildcardId
Auto Trait Implementations§
impl Freeze for WildcardId
impl RefUnwindSafe for WildcardId
impl Send for WildcardId
impl Sync for WildcardId
impl Unpin for WildcardId
impl UnwindSafe for WildcardId
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.