pub struct ImageAllocationInfo {
pub width: u32,
pub height: u32,
pub drm_format: DrmFormat,
pub flags: RutabagaGrallocFlags,
}Expand description
Information required to allocate a swapchain image.
Fields§
§width: u32§height: u32§drm_format: DrmFormat§flags: RutabagaGrallocFlagsTrait Implementations§
Source§impl Clone for ImageAllocationInfo
impl Clone for ImageAllocationInfo
Source§fn clone(&self) -> ImageAllocationInfo
fn clone(&self) -> ImageAllocationInfo
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 moreimpl Copy for ImageAllocationInfo
Source§impl Default for ImageAllocationInfo
impl Default for ImageAllocationInfo
Source§fn default() -> ImageAllocationInfo
fn default() -> ImageAllocationInfo
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ImageAllocationInfo
impl RefUnwindSafe for ImageAllocationInfo
impl Send for ImageAllocationInfo
impl Sync for ImageAllocationInfo
impl Unpin for ImageAllocationInfo
impl UnsafeUnpin for ImageAllocationInfo
impl UnwindSafe for ImageAllocationInfo
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