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 Freeze for ImageAllocationInfo
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)