Struct ConstantId
pub struct ConstantId(pub u32);Tuple Fields§
§0: u32Trait Implementations§
§impl Clone for ConstantId
impl Clone for ConstantId
§fn clone(&self) -> ConstantId
fn clone(&self) -> ConstantId
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 ConstantId
§impl Debug for ConstantId
impl Debug for ConstantId
§impl Display for ConstantId
impl Display for ConstantId
impl Eq for ConstantId
§impl From<u32> for ConstantId
impl From<u32> for ConstantId
§fn from(value: u32) -> ConstantId
fn from(value: u32) -> ConstantId
Converts to this type from the input type.
§impl FromBytes for ConstantId
impl FromBytes for ConstantId
fn from_bytes<R>(bytes: &mut R) -> Result<ConstantId, Report>where
R: Read,
§impl Hash for ConstantId
impl Hash for ConstantId
§impl Ord for ConstantId
impl Ord for ConstantId
§fn cmp(&self, other: &ConstantId) -> Ordering
fn cmp(&self, other: &ConstantId) -> Ordering
1.21.0 (const: unstable) · 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
§impl PartialEq for ConstantId
impl PartialEq for ConstantId
§impl PartialOrd for ConstantId
impl PartialOrd for ConstantId
impl StructuralPartialEq for ConstantId
§impl WriteBytes for ConstantId
impl WriteBytes for ConstantId
Auto Trait Implementations§
impl Freeze for ConstantId
impl RefUnwindSafe for ConstantId
impl Send for ConstantId
impl Sync for ConstantId
impl Unpin for ConstantId
impl UnsafeUnpin for ConstantId
impl UnwindSafe for ConstantId
Blanket Implementations§
Source§impl<D> Apply<PushToStack<()>> for D
impl<D> Apply<PushToStack<()>> for D
Source§fn apply(&mut self, _: PushToStack<()>)
fn apply(&mut self, _: PushToStack<()>)
Apply a single effect to this destination.
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
impl<T> BytecodeHeader for Twhere
T: FromBytes,
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
§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.impl<T> Instruction for T
§impl<'src, T> IntoMaybe<'src, T> for Twhere
T: 'src,
impl<'src, T> IntoMaybe<'src, T> for Twhere
T: 'src,
impl<T> OrderedSeq<'_, T> for Twhere
T: Clone,
§impl<'p, T> Seq<'p, T> for Twhere
T: Clone,
impl<'p, T> Seq<'p, T> for Twhere
T: Clone,
§type Iter<'a> = Once<&'a T>
where
T: 'a
type Iter<'a> = Once<&'a T> where T: 'a
An iterator over the items within this container, by reference.
§fn contains(&self, val: &T) -> boolwhere
T: PartialEq,
fn contains(&self, val: &T) -> boolwhere
T: PartialEq,
Check whether an item is contained within this sequence.
§fn to_maybe_ref<'b>(item: <T as Seq<'p, T>>::Item<'b>) -> Maybe<T, &'p T>where
'p: 'b,
fn to_maybe_ref<'b>(item: <T as Seq<'p, T>>::Item<'b>) -> Maybe<T, &'p T>where
'p: 'b,
Convert an item of the sequence into a [
MaybeRef].