[−][src]Struct rendy_memory::MemoryBlock
Memory block allocated from Heaps
.
Methods
impl<B> MemoryBlock<B> where
B: Backend,
[src]
B: Backend,
pub fn memory_type(&self) -> u32
[src]
Get memory type id.
Trait Implementations
impl<B> Block<B> for MemoryBlock<B> where
B: Backend,
[src]
B: Backend,
fn properties(&self) -> Properties
[src]
fn memory(&self) -> &B::Memory
[src]
fn range(&self) -> Range<u64>
[src]
fn map<'a>(
&'a mut self,
device: &impl Device<B>,
range: Range<u64>
) -> Result<MappedRange<'a, B>, Error>
[src]
&'a mut self,
device: &impl Device<B>,
range: Range<u64>
) -> Result<MappedRange<'a, B>, Error>
fn unmap(
&mut self,
device: &impl Device<B>
)
[src]
&mut self,
device: &impl Device<B>
)
impl<B: Debug + Backend> Debug for MemoryBlock<B>
[src]
Auto Trait Implementations
impl<B> Send for MemoryBlock<B>
impl<B> Sync for MemoryBlock<B>
Blanket Implementations
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From for T
[src]
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = !
🔬 This is a nightly-only experimental API. (
try_from
)The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
🔬 This is a nightly-only experimental API. (
try_from
)The type returned in the event of a conversion error.