pub struct AskedAllocation {
pub width: u32,
pub height: u32,
pub format: HardwareBufferFormat,
pub usage: HardwareBufferUsage,
}Expand description
An allocation the app asked for.
Fields§
§width: u32§height: u32§format: HardwareBufferFormat§usage: HardwareBufferUsageTrait Implementations§
Source§impl Clone for AskedAllocation
impl Clone for AskedAllocation
impl Copy for AskedAllocation
Source§impl Debug for AskedAllocation
impl Debug for AskedAllocation
impl Eq for AskedAllocation
Source§impl PartialEq for AskedAllocation
impl PartialEq for AskedAllocation
impl StructuralPartialEq for AskedAllocation
Auto Trait Implementations§
impl Forget for AskedAllocation
impl Freeze for AskedAllocation
impl Move for AskedAllocation
impl RefUnwindSafe for AskedAllocation
impl Send for AskedAllocation
impl Sync for AskedAllocation
impl Unpin for AskedAllocation
impl UnsafeUnpin for AskedAllocation
impl UnwindSafe for AskedAllocation
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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.