Struct rutabaga_gfx::rutabaga_core::Rutabaga2DInfo
source · pub struct Rutabaga2DInfo {
pub width: u32,
pub height: u32,
pub host_mem: Vec<u8>,
}
Expand description
Information required for 2D functionality.
Fields§
§width: u32
§height: u32
§host_mem: Vec<u8>
Trait Implementations§
source§impl Clone for Rutabaga2DInfo
impl Clone for Rutabaga2DInfo
source§fn clone(&self) -> Rutabaga2DInfo
fn clone(&self) -> Rutabaga2DInfo
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<'de> Deserialize<'de> for Rutabaga2DInfo
impl<'de> Deserialize<'de> for Rutabaga2DInfo
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl RefUnwindSafe for Rutabaga2DInfo
impl Send for Rutabaga2DInfo
impl Sync for Rutabaga2DInfo
impl Unpin for Rutabaga2DInfo
impl UnwindSafe for Rutabaga2DInfo
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