Struct GraphicsFormat
#[repr(transparent)]pub struct GraphicsFormat(pub i32);Expand description
GraphicsFormat specifies format of graphics data used for example in textures and vertex attributes.
Tuple Fields§
§0: i32Implementations§
§impl GraphicsFormat
impl GraphicsFormat
pub fn convert(num: i32) -> GraphicsFormat
Trait Implementations§
§impl Clone for GraphicsFormat
impl Clone for GraphicsFormat
§fn clone(&self) -> GraphicsFormat
fn clone(&self) -> GraphicsFormat
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 more§impl Debug for GraphicsFormat
impl Debug for GraphicsFormat
§impl PartialEq for GraphicsFormat
impl PartialEq for GraphicsFormat
§impl VariantConstraint for GraphicsFormat
impl VariantConstraint for GraphicsFormat
§type DataArg<'a> = GraphicsFormat
type DataArg<'a> = GraphicsFormat
Specifies the type of an argument that provides a value to
Variant.
Generally, this type matches Self, except for KanziString, Resource, and ResourceId. Read more§type RetArg = GraphicsFormat
type RetArg = GraphicsFormat
§fn as_arg(&self) -> <GraphicsFormat as VariantConstraint>::DataArg<'_>
fn as_arg(&self) -> <GraphicsFormat as VariantConstraint>::DataArg<'_>
impl Copy for GraphicsFormat
impl Eq for GraphicsFormat
impl PropertyTypeConstraint for GraphicsFormat
impl StructuralPartialEq for GraphicsFormat
Auto Trait Implementations§
impl Freeze for GraphicsFormat
impl RefUnwindSafe for GraphicsFormat
impl Send for GraphicsFormat
impl Sync for GraphicsFormat
impl Unpin for GraphicsFormat
impl UnwindSafe for GraphicsFormat
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