pub struct BackendLayoutFingerprint {
pub slots: Vec<BackendLayoutSlot>,
}Expand description
Stable descriptor-layout fingerprint for backend object caches.
Fields§
§slots: Vec<BackendLayoutSlot>Canonical slots sorted by (group, binding).
Implementations§
Source§impl BackendLayoutFingerprint
impl BackendLayoutFingerprint
Sourcepub fn new(slots: Vec<BackendLayoutSlot>) -> Self
pub fn new(slots: Vec<BackendLayoutSlot>) -> Self
Build a deterministic fingerprint from unsorted layout slots.
Trait Implementations§
Source§impl Clone for BackendLayoutFingerprint
impl Clone for BackendLayoutFingerprint
Source§fn clone(&self) -> BackendLayoutFingerprint
fn clone(&self) -> BackendLayoutFingerprint
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 BackendLayoutFingerprint
impl Debug for BackendLayoutFingerprint
impl Eq for BackendLayoutFingerprint
Source§impl Hash for BackendLayoutFingerprint
impl Hash for BackendLayoutFingerprint
Source§impl PartialEq for BackendLayoutFingerprint
impl PartialEq for BackendLayoutFingerprint
Source§fn eq(&self, other: &BackendLayoutFingerprint) -> bool
fn eq(&self, other: &BackendLayoutFingerprint) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for BackendLayoutFingerprint
Auto Trait Implementations§
impl Freeze for BackendLayoutFingerprint
impl RefUnwindSafe for BackendLayoutFingerprint
impl Send for BackendLayoutFingerprint
impl Sync for BackendLayoutFingerprint
impl Unpin for BackendLayoutFingerprint
impl UnsafeUnpin for BackendLayoutFingerprint
impl UnwindSafe for BackendLayoutFingerprint
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§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.