pub struct KMethodSpec {
pub axes: &'static [KMethodAxis],
pub reason: &'static str,
}Expand description
Component-declared K-method table shape.
Fields§
§axes: &'static [KMethodAxis]§reason: &'static strImplementations§
Source§impl KMethodSpec
impl KMethodSpec
pub const fn dimensions(self) -> usize
Trait Implementations§
Source§impl Clone for KMethodSpec
impl Clone for KMethodSpec
Source§fn clone(&self) -> KMethodSpec
fn clone(&self) -> KMethodSpec
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 KMethodSpec
Source§impl Debug for KMethodSpec
impl Debug for KMethodSpec
impl Eq for KMethodSpec
Source§impl PartialEq for KMethodSpec
impl PartialEq for KMethodSpec
Source§fn eq(&self, other: &KMethodSpec) -> bool
fn eq(&self, other: &KMethodSpec) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for KMethodSpec
Auto Trait Implementations§
impl Freeze for KMethodSpec
impl RefUnwindSafe for KMethodSpec
impl Send for KMethodSpec
impl Sync for KMethodSpec
impl Unpin for KMethodSpec
impl UnsafeUnpin for KMethodSpec
impl UnwindSafe for KMethodSpec
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,
§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.