pub struct BucketKey {
pub mode: ModeBucket,
pub diff: DiffBucket,
pub size_bucket: u8,
}Expand description
Bucket identifier for conformal calibration.
Fields§
§mode: ModeBucket§diff: DiffBucket§size_bucket: u8Implementations§
Source§impl BucketKey
impl BucketKey
Sourcepub fn from_context(
screen_mode: ScreenMode,
diff_strategy: DiffStrategy,
cols: u16,
rows: u16,
) -> Self
pub fn from_context( screen_mode: ScreenMode, diff_strategy: DiffStrategy, cols: u16, rows: u16, ) -> Self
Create a bucket key from rendering context.
Trait Implementations§
impl Copy for BucketKey
impl Eq for BucketKey
impl StructuralPartialEq for BucketKey
Auto Trait Implementations§
impl Freeze for BucketKey
impl RefUnwindSafe for BucketKey
impl Send for BucketKey
impl Sync for BucketKey
impl Unpin for BucketKey
impl UnwindSafe for BucketKey
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.