Struct arithmetic_eval::exec::WildcardId
source · 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 copy 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
source§fn eq(&self, other: &WildcardId) -> bool
fn eq(&self, other: &WildcardId) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.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: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)§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
Checks if this value is equivalent to the given key. Read more