#[repr(transparent)]pub struct WGPUExternalTextureRotation(pub c_int);Tuple Fields§
§0: c_intImplementations§
§impl WGPUExternalTextureRotation
impl WGPUExternalTextureRotation
pub const Rotate0Degrees: Self = raw::WGPUExternalTextureRotation_WGPUExternalTextureRotation_Rotate0Degrees
pub const Rotate90Degrees: Self = raw::WGPUExternalTextureRotation_WGPUExternalTextureRotation_Rotate90Degrees
pub const Rotate180Degrees: Self = raw::WGPUExternalTextureRotation_WGPUExternalTextureRotation_Rotate180Degrees
pub const Rotate270Degrees: Self = raw::WGPUExternalTextureRotation_WGPUExternalTextureRotation_Rotate270Degrees
Trait Implementations§
Source§impl Clone for WGPUExternalTextureRotation
impl Clone for WGPUExternalTextureRotation
Source§fn clone(&self) -> WGPUExternalTextureRotation
fn clone(&self) -> WGPUExternalTextureRotation
Returns a duplicate 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 Debug for WGPUExternalTextureRotation
impl Debug for WGPUExternalTextureRotation
Source§impl Hash for WGPUExternalTextureRotation
impl Hash for WGPUExternalTextureRotation
Source§impl Ord for WGPUExternalTextureRotation
impl Ord for WGPUExternalTextureRotation
Source§fn cmp(&self, other: &WGPUExternalTextureRotation) -> Ordering
fn cmp(&self, other: &WGPUExternalTextureRotation) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialOrd for WGPUExternalTextureRotation
impl PartialOrd for WGPUExternalTextureRotation
impl Copy for WGPUExternalTextureRotation
impl Eq for WGPUExternalTextureRotation
impl StructuralPartialEq for WGPUExternalTextureRotation
Auto Trait Implementations§
impl Freeze for WGPUExternalTextureRotation
impl RefUnwindSafe for WGPUExternalTextureRotation
impl Send for WGPUExternalTextureRotation
impl Sync for WGPUExternalTextureRotation
impl Unpin for WGPUExternalTextureRotation
impl UnwindSafe for WGPUExternalTextureRotation
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