pub struct DenseOpArg {
pub n: i64,
pub text: &'static str,
}Expand description
Copyable argument for dense dispatch entries.
This avoids heap-owned per-entry strings so the dense table can be a fixed 256-entry array initialized to NOP.
Fields§
§n: i64Numeric argument.
text: &'static strStatic text argument.
Implementations§
Trait Implementations§
Source§impl Clone for DenseOpArg
impl Clone for DenseOpArg
impl Copy for DenseOpArg
Source§impl Debug for DenseOpArg
impl Debug for DenseOpArg
impl Eq for DenseOpArg
Source§impl PartialEq for DenseOpArg
impl PartialEq for DenseOpArg
impl StructuralPartialEq for DenseOpArg
Auto Trait Implementations§
impl Freeze for DenseOpArg
impl RefUnwindSafe for DenseOpArg
impl Send for DenseOpArg
impl Sync for DenseOpArg
impl Unpin for DenseOpArg
impl UnsafeUnpin for DenseOpArg
impl UnwindSafe for DenseOpArg
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,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.