pub struct FRERenderMode(/* private fields */);Expand description
Declared as [uint8_t] instead of the C enum storage type,
because the runtime writes only one byte in practice.
Implementations§
Source§impl FRERenderMode
impl FRERenderMode
pub const FRE_RENDERMODE_UNKNOWN: FRERenderMode
pub const FRE_RENDERMODE_NONE: FRERenderMode
pub const FRE_RENDERMODE_CPU: FRERenderMode
pub const FRE_RENDERMODE_DIRECT_OGLES: FRERenderMode
pub const FRE_RENDERMODE_DIRECT_OGL: FRERenderMode
pub const FRE_RENDERMODE_DIRECT_D3D9: FRERenderMode
pub const FRE_RENDERMODE_DIRECT_D3D10: FRERenderMode
pub const FRE_RENDERMODE_DIRECT_D3D11: FRERenderMode
pub const FRE_RENDERMODE_SOFTWARE_GDI: FRERenderMode
pub const FRE_RENDERMODE_GPU_OGLES: FRERenderMode
pub fn as_i32(self) -> i32
pub fn as_u32(self) -> u32
Trait Implementations§
Source§impl Clone for FRERenderMode
impl Clone for FRERenderMode
Source§fn clone(&self) -> FRERenderMode
fn clone(&self) -> FRERenderMode
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 FRERenderMode
impl Debug for FRERenderMode
Source§impl Display for FRERenderMode
impl Display for FRERenderMode
Source§impl From<FRERenderMode> for RenderMode
impl From<FRERenderMode> for RenderMode
Source§fn from(value: FRERenderMode) -> Self
fn from(value: FRERenderMode) -> Self
Converts to this type from the input type.
Source§impl PartialEq for FRERenderMode
impl PartialEq for FRERenderMode
impl Copy for FRERenderMode
impl Eq for FRERenderMode
impl StructuralPartialEq for FRERenderMode
Auto Trait Implementations§
impl Freeze for FRERenderMode
impl RefUnwindSafe for FRERenderMode
impl Send for FRERenderMode
impl Sync for FRERenderMode
impl Unpin for FRERenderMode
impl UnsafeUnpin for FRERenderMode
impl UnwindSafe for FRERenderMode
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