Struct wasmbin::instructions::simd::LaneId
source · pub struct LaneId<const MAX: u8>(/* private fields */);
Expand description
A SIMD lane index in the 0..MAX
range.
Trait Implementations§
source§impl<const MAX: u8> PartialEq for LaneId<MAX>
impl<const MAX: u8> PartialEq for LaneId<MAX>
source§impl<const MAX: u8> Visit for LaneId<MAX>where
Self: 'static,
impl<const MAX: u8> Visit for LaneId<MAX>where
Self: 'static,
source§fn visit_children<'a, VisitT: 'static, VisitE, VisitF: FnMut(&'a VisitT) -> Result<(), VisitE>>(
&'a self,
f: &mut VisitF
) -> Result<(), VisitError<VisitE>>
fn visit_children<'a, VisitT: 'static, VisitE, VisitF: FnMut(&'a VisitT) -> Result<(), VisitE>>( &'a self, f: &mut VisitF ) -> Result<(), VisitError<VisitE>>
Traverse the children of this value with the provided callback.
source§fn visit_children_mut<VisitT: 'static, VisitE, VisitF: FnMut(&mut VisitT) -> Result<(), VisitE>>(
&mut self,
f: &mut VisitF
) -> Result<(), VisitError<VisitE>>
fn visit_children_mut<VisitT: 'static, VisitE, VisitF: FnMut(&mut VisitT) -> Result<(), VisitE>>( &mut self, f: &mut VisitF ) -> Result<(), VisitError<VisitE>>
Traverse the children of this value mutably with the provided callback.
source§fn visit<'a, T: 'static, R: VisitResult, F: FnMut(&'a T) -> R>(
&'a self,
f: F
) -> Result<(), VisitError<R::Error>>
fn visit<'a, T: 'static, R: VisitResult, F: FnMut(&'a T) -> R>( &'a self, f: F ) -> Result<(), VisitError<R::Error>>
Traverse this value with the provided callback.
source§fn visit_mut<T: 'static, R: VisitResult, F: FnMut(&mut T) -> R>(
&mut self,
f: F
) -> Result<(), VisitError<R::Error>>
fn visit_mut<T: 'static, R: VisitResult, F: FnMut(&mut T) -> R>( &mut self, f: F ) -> Result<(), VisitError<R::Error>>
Traverse this value mutably with the provided callback.
impl<const MAX: u8> Copy for LaneId<MAX>
impl<const MAX: u8> Eq for LaneId<MAX>
impl<const MAX: u8> StructuralEq for LaneId<MAX>
impl<const MAX: u8> StructuralPartialEq for LaneId<MAX>
Auto Trait Implementations§
impl<const MAX: u8> RefUnwindSafe for LaneId<MAX>
impl<const MAX: u8> Send for LaneId<MAX>
impl<const MAX: u8> Sync for LaneId<MAX>
impl<const MAX: u8> Unpin for LaneId<MAX>
impl<const MAX: u8> UnwindSafe for LaneId<MAX>
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