Enum RenderMode
#[non_exhaustive]pub enum RenderMode {
Partial,
Full,
Unknown(u32),
}Expand description
Render mode reported by render observer events.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Implementations§
§impl RenderMode
impl RenderMode
pub fn from_raw(raw: u32) -> RenderMode
Trait Implementations§
§impl Clone for RenderMode
impl Clone for RenderMode
§fn clone(&self) -> RenderMode
fn clone(&self) -> RenderMode
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 RenderMode
impl Debug for RenderMode
§impl Hash for RenderMode
impl Hash for RenderMode
§impl PartialEq for RenderMode
impl PartialEq for RenderMode
impl Copy for RenderMode
impl Eq for RenderMode
impl StructuralPartialEq for RenderMode
Auto Trait Implementations§
impl Freeze for RenderMode
impl RefUnwindSafe for RenderMode
impl Send for RenderMode
impl Sync for RenderMode
impl Unpin for RenderMode
impl UnsafeUnpin for RenderMode
impl UnwindSafe for RenderMode
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