Struct term_model::index::Column
source · pub struct Column(pub usize);
Expand description
A column
Newtype to avoid passing values incorrectly
Tuple Fields§
§0: usize
Methods from Deref<Target = usize>§
pub const MIN: usize = 0usize
pub const MAX: usize = 18_446_744_073_709_551_615usize
pub const BITS: u32 = 64u32
Trait Implementations§
source§impl AddAssign<usize> for Column
impl AddAssign<usize> for Column
source§fn add_assign(&mut self, rhs: usize)
fn add_assign(&mut self, rhs: usize)
Performs the
+=
operation. Read moresource§impl AddAssign for Column
impl AddAssign for Column
source§fn add_assign(&mut self, rhs: Column)
fn add_assign(&mut self, rhs: Column)
Performs the
+=
operation. Read moresource§impl<'de> Deserialize<'de> for Column
impl<'de> Deserialize<'de> for Column
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Ord for Column
impl Ord for Column
source§impl PartialEq for Column
impl PartialEq for Column
source§impl PartialOrd for Column
impl PartialOrd for Column
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl SubAssign<usize> for Column
impl SubAssign<usize> for Column
source§fn sub_assign(&mut self, rhs: usize)
fn sub_assign(&mut self, rhs: usize)
Performs the
-=
operation. Read moresource§impl SubAssign for Column
impl SubAssign for Column
source§fn sub_assign(&mut self, rhs: Column)
fn sub_assign(&mut self, rhs: Column)
Performs the
-=
operation. Read moreimpl Copy for Column
impl Eq for Column
impl StructuralPartialEq for Column
Auto Trait Implementations§
impl Freeze for Column
impl RefUnwindSafe for Column
impl Send for Column
impl Sync for Column
impl Unpin for Column
impl UnwindSafe for Column
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)