pub struct ClassLayout<'a>(/* private fields */);Implementations§
Source§impl ClassLayout<'_>
impl ClassLayout<'_>
pub fn packing_size(&self) -> u16
pub fn class_size(&self) -> u32
Trait Implementations§
Source§impl<'a> AsRow<'a> for ClassLayout<'a>
impl<'a> AsRow<'a> for ClassLayout<'a>
const TABLE: usize = 16usize
fn to_row(&self) -> Row<'a>
fn from_row(row: Row<'a>) -> Self
fn index(&self) -> &'a Index
fn file(&self) -> &'a File
fn pos(&self) -> usize
fn usize(&self, column: usize) -> usize
fn str(&self, column: usize) -> &'a str
fn row<R: AsRow<'a>>(&self, column: usize) -> R
fn decode<T: Decode<'a>>(&self, column: usize) -> T
fn blob(&self, column: usize) -> Blob<'a>
fn list<R: AsRow<'a>>(&self, column: usize) -> RowIterator<'a, R> ⓘ
fn equal_range<L: AsRow<'a>>( &self, column: usize, value: usize, ) -> RowIterator<'a, L> ⓘ
fn parent_row<P: AsRow<'a>>(&'a self, column: usize) -> P
Source§impl<'a> Clone for ClassLayout<'a>
impl<'a> Clone for ClassLayout<'a>
Source§fn clone(&self) -> ClassLayout<'a>
fn clone(&self) -> ClassLayout<'a>
Returns a duplicate of the value. Read more
1.0.0 · 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 ClassLayout<'_>
impl Debug for ClassLayout<'_>
Source§impl<'a> Hash for ClassLayout<'a>
impl<'a> Hash for ClassLayout<'a>
Source§impl<'a> Ord for ClassLayout<'a>
impl<'a> Ord for ClassLayout<'a>
Source§fn cmp(&self, other: &ClassLayout<'a>) -> Ordering
fn cmp(&self, other: &ClassLayout<'a>) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl<'a> PartialEq for ClassLayout<'a>
impl<'a> PartialEq for ClassLayout<'a>
Source§impl<'a> PartialOrd for ClassLayout<'a>
impl<'a> PartialOrd for ClassLayout<'a>
impl<'a> Copy for ClassLayout<'a>
impl<'a> Eq for ClassLayout<'a>
impl<'a> StructuralPartialEq for ClassLayout<'a>
Auto Trait Implementations§
impl<'a> Freeze for ClassLayout<'a>
impl<'a> RefUnwindSafe for ClassLayout<'a>
impl<'a> Send for ClassLayout<'a>
impl<'a> Sync for ClassLayout<'a>
impl<'a> Unpin for ClassLayout<'a>
impl<'a> UnwindSafe for ClassLayout<'a>
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