pub struct AllocatorKeyV32 {
pub device_range: Range<u64>,
}
Fields§
§device_range: Range<u64>
Implementations§
Source§impl AllocatorKeyV32
impl AllocatorKeyV32
Sourcepub fn lower_bound_for_merge_into(self: &AllocatorKey) -> AllocatorKey
pub fn lower_bound_for_merge_into(self: &AllocatorKey) -> AllocatorKey
Returns a new key that is a lower bound suitable for use with merge_into.
Trait Implementations§
Source§impl Clone for AllocatorKeyV32
impl Clone for AllocatorKeyV32
Source§fn clone(&self) -> AllocatorKeyV32
fn clone(&self) -> AllocatorKeyV32
Returns a copy 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 AllocatorKeyV32
impl Debug for AllocatorKeyV32
Source§impl<'de> Deserialize<'de> for AllocatorKeyV32
impl<'de> Deserialize<'de> for AllocatorKeyV32
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 Hash for AllocatorKeyV32
impl Hash for AllocatorKeyV32
Source§impl<I: LayerIterator<AllocatorKey, AllocatorValue>> LayerIterator<AllocatorKeyV32, AllocatorValueV32> for CoalescingIterator<I>
impl<I: LayerIterator<AllocatorKey, AllocatorValue>> LayerIterator<AllocatorKeyV32, AllocatorValueV32> for CoalescingIterator<I>
Source§fn advance<'life0, 'async_trait>(
&'life0 mut self,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn advance<'life0, 'async_trait>(
&'life0 mut self,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Advances the iterator.
Source§fn get(&self) -> Option<ItemRef<'_, AllocatorKey, AllocatorValue>>
fn get(&self) -> Option<ItemRef<'_, AllocatorKey, AllocatorValue>>
Returns the current item. This will be None if called when the iterator is first crated i.e.
before either seek or advance has been called, and None if the iterator has reached the end
of the layer.
Source§impl PartialEq for AllocatorKeyV32
impl PartialEq for AllocatorKeyV32
Source§impl Serialize for AllocatorKeyV32
impl Serialize for AllocatorKeyV32
Source§impl TypeFingerprint for AllocatorKeyV32
impl TypeFingerprint for AllocatorKeyV32
fn fingerprint() -> String
Source§impl Versioned for AllocatorKeyV32
impl Versioned for AllocatorKeyV32
impl Eq for AllocatorKeyV32
impl StructuralPartialEq for AllocatorKeyV32
Auto Trait Implementations§
impl Freeze for AllocatorKeyV32
impl RefUnwindSafe for AllocatorKeyV32
impl Send for AllocatorKeyV32
impl Sync for AllocatorKeyV32
impl Unpin for AllocatorKeyV32
impl UnwindSafe for AllocatorKeyV32
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, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
Source§impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
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