#[repr(transparent)]pub struct AttributeIndex(pub [u8; 16]);Tuple Fields§
§0: [u8; 16]Implementations§
Source§impl<'a> AttributeIndex
impl<'a> AttributeIndex
pub fn new( index: u16, length: u32, branching_factor: u16, num_unique_items: u32, ) -> Self
pub fn index(&self) -> u16
pub fn set_index(&mut self, x: u16)
pub fn length(&self) -> u32
pub fn set_length(&mut self, x: u32)
pub fn branching_factor(&self) -> u16
pub fn set_branching_factor(&mut self, x: u16)
pub fn num_unique_items(&self) -> u32
pub fn set_num_unique_items(&mut self, x: u32)
Trait Implementations§
Source§impl Clone for AttributeIndex
impl Clone for AttributeIndex
Source§fn clone(&self) -> AttributeIndex
fn clone(&self) -> AttributeIndex
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 moreSource§impl Debug for AttributeIndex
impl Debug for AttributeIndex
Source§impl Default for AttributeIndex
impl Default for AttributeIndex
Source§fn default() -> AttributeIndex
fn default() -> AttributeIndex
Returns the “default value” for a type. Read more
Source§impl<'a> Follow<'a> for &'a AttributeIndex
impl<'a> Follow<'a> for &'a AttributeIndex
Source§impl<'a> Follow<'a> for AttributeIndex
impl<'a> Follow<'a> for AttributeIndex
Source§impl PartialEq for AttributeIndex
impl PartialEq for AttributeIndex
Source§fn eq(&self, other: &AttributeIndex) -> bool
fn eq(&self, other: &AttributeIndex) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl<'b> Push for AttributeIndex
impl<'b> Push for AttributeIndex
Source§impl<'a> Verifiable for AttributeIndex
impl<'a> Verifiable for AttributeIndex
impl Copy for AttributeIndex
impl SimpleToVerifyInSlice for AttributeIndex
impl StructuralPartialEq for AttributeIndex
Auto Trait Implementations§
impl Freeze for AttributeIndex
impl RefUnwindSafe for AttributeIndex
impl Send for AttributeIndex
impl Sync for AttributeIndex
impl Unpin for AttributeIndex
impl UnsafeUnpin for AttributeIndex
impl UnwindSafe for AttributeIndex
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