Struct rutabaga_gfx::ImageAllocationInfo
source · 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: RutabagaGrallocFlags
Trait Implementations§
source§impl Clone for ImageAllocationInfo
impl Clone for ImageAllocationInfo
source§fn clone(&self) -> ImageAllocationInfo
fn clone(&self) -> ImageAllocationInfo
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 Default for ImageAllocationInfo
impl Default for ImageAllocationInfo
source§fn default() -> ImageAllocationInfo
fn default() -> ImageAllocationInfo
Returns the “default value” for a type. Read more
impl Copy for ImageAllocationInfo
Auto Trait Implementations§
impl RefUnwindSafe for ImageAllocationInfo
impl Send for ImageAllocationInfo
impl Sync for ImageAllocationInfo
impl Unpin 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