pub struct Uint<const N: usize>(pub usize);
Tuple Fields§
§0: usize
Implementations§
Trait Implementations§
source§impl<S: TexlangState, const N: usize> Parsable<S> for Uint<N>
impl<S: TexlangState, const N: usize> Parsable<S> for Uint<N>
source§fn parse_impl(input: &mut ExpandedStream<S>) -> Result<Self, Box<Error>>
fn parse_impl(input: &mut ExpandedStream<S>) -> Result<Self, Box<Error>>
Parses a value from the vm::ExpandedStream.
source§impl<const N: usize> PartialEq<Uint<N>> for Uint<N>
impl<const N: usize> PartialEq<Uint<N>> for Uint<N>
impl<const N: usize> Eq for Uint<N>
impl<const N: usize> StructuralEq for Uint<N>
impl<const N: usize> StructuralPartialEq for Uint<N>
Auto Trait Implementations§
impl<const N: usize> RefUnwindSafe for Uint<N>
impl<const N: usize> Send for Uint<N>
impl<const N: usize> Sync for Uint<N>
impl<const N: usize> Unpin for Uint<N>
impl<const N: usize> UnwindSafe for Uint<N>
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