pub struct RenderInfo(pub i64);
Tuple Fields§
§0: i64
Implementations§
Source§impl RenderInfo
impl RenderInfo
pub const OBJECTS_IN_FRAME: RenderInfo
pub const VERTICES_IN_FRAME: RenderInfo
pub const MATERIAL_CHANGES_IN_FRAME: RenderInfo
pub const SHADER_CHANGES_IN_FRAME: RenderInfo
pub const SHADER_COMPILES_IN_FRAME: RenderInfo
pub const SURFACE_CHANGES_IN_FRAME: RenderInfo
pub const DRAW_CALLS_IN_FRAME: RenderInfo
pub const _2D_ITEMS_IN_FRAME: RenderInfo
pub const _2D_DRAW_CALLS_IN_FRAME: RenderInfo
pub const USAGE_VIDEO_MEM_TOTAL: RenderInfo
pub const VIDEO_MEM_USED: RenderInfo
pub const TEXTURE_MEM_USED: RenderInfo
pub const VERTEX_MEM_USED: RenderInfo
Trait Implementations§
Source§impl Clone for RenderInfo
impl Clone for RenderInfo
Source§fn clone(&self) -> RenderInfo
fn clone(&self) -> RenderInfo
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for RenderInfo
impl Debug for RenderInfo
Source§impl From<RenderInfo> for i64
impl From<RenderInfo> for i64
Source§fn from(v: RenderInfo) -> Self
fn from(v: RenderInfo) -> Self
Converts to this type from the input type.
Source§impl From<i64> for RenderInfo
impl From<i64> for RenderInfo
Source§impl FromVariant for RenderInfo
impl FromVariant for RenderInfo
fn from_variant(v: &Variant) -> Result<Self, FromVariantError>
Source§impl Hash for RenderInfo
impl Hash for RenderInfo
Source§impl Ord for RenderInfo
impl Ord for RenderInfo
Source§fn cmp(&self, other: &RenderInfo) -> Ordering
fn cmp(&self, other: &RenderInfo) -> 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 PartialEq for RenderInfo
impl PartialEq for RenderInfo
Source§impl PartialOrd for RenderInfo
impl PartialOrd for RenderInfo
impl Copy for RenderInfo
impl Eq for RenderInfo
impl StructuralPartialEq for RenderInfo
Auto Trait Implementations§
impl Freeze for RenderInfo
impl RefUnwindSafe for RenderInfo
impl Send for RenderInfo
impl Sync for RenderInfo
impl Unpin for RenderInfo
impl UnwindSafe for RenderInfo
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.