pub struct StateTextureInfo {
pub width: usize,
pub height: usize,
pub depth: usize,
pub array_length: usize,
pub pixel_format: usize,
pub texture_type: usize,
pub usage: usize,
}Expand description
Plain-Rust view of MPSStateTextureInfo.
Fields§
§width: usize§height: usize§depth: usize§array_length: usize§pixel_format: usize§texture_type: usize§usage: usizeTrait Implementations§
Source§impl Clone for StateTextureInfo
impl Clone for StateTextureInfo
Source§fn clone(&self) -> StateTextureInfo
fn clone(&self) -> StateTextureInfo
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 moreSource§impl Debug for StateTextureInfo
impl Debug for StateTextureInfo
Source§impl Default for StateTextureInfo
impl Default for StateTextureInfo
Source§fn default() -> StateTextureInfo
fn default() -> StateTextureInfo
Returns the “default value” for a type. Read more
Source§impl PartialEq for StateTextureInfo
impl PartialEq for StateTextureInfo
Source§fn eq(&self, other: &StateTextureInfo) -> bool
fn eq(&self, other: &StateTextureInfo) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for StateTextureInfo
impl Eq for StateTextureInfo
impl StructuralPartialEq for StateTextureInfo
Auto Trait Implementations§
impl Freeze for StateTextureInfo
impl RefUnwindSafe for StateTextureInfo
impl Send for StateTextureInfo
impl Sync for StateTextureInfo
impl Unpin for StateTextureInfo
impl UnsafeUnpin for StateTextureInfo
impl UnwindSafe for StateTextureInfo
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