pub enum PyramidLevel {
Anchor = 0,
L1 = 1,
L2 = 2,
L3 = 3,
}Expand description
The role a frame plays within the B-pyramid hierarchy.
Variants§
Anchor = 0
Top-level anchor frame (P or I); level 0 has highest quality.
L1 = 1
Level-1 B-frame (references two anchors).
L2 = 2
Level-2 B-frame (references two level-1 frames).
L3 = 3
Level-3 B-frame (leaf; references two level-2 frames).
Implementations§
Trait Implementations§
Source§impl Clone for PyramidLevel
impl Clone for PyramidLevel
Source§fn clone(&self) -> PyramidLevel
fn clone(&self) -> PyramidLevel
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 PyramidLevel
impl Debug for PyramidLevel
Source§impl Ord for PyramidLevel
impl Ord for PyramidLevel
Source§fn cmp(&self, other: &PyramidLevel) -> Ordering
fn cmp(&self, other: &PyramidLevel) -> 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 PartialEq for PyramidLevel
impl PartialEq for PyramidLevel
Source§impl PartialOrd for PyramidLevel
impl PartialOrd for PyramidLevel
impl Copy for PyramidLevel
impl Eq for PyramidLevel
impl StructuralPartialEq for PyramidLevel
Auto Trait Implementations§
impl Freeze for PyramidLevel
impl RefUnwindSafe for PyramidLevel
impl Send for PyramidLevel
impl Sync for PyramidLevel
impl Unpin for PyramidLevel
impl UnsafeUnpin for PyramidLevel
impl UnwindSafe for PyramidLevel
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<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more