pub struct FrameCost {
pub fetches: f64,
pub transcendentals: f64,
pub arithmetic: f64,
}Expand description
A frame’s predicted cost in unit pixels per kind of work.
Fields§
§fetches: f64Texture reads.
transcendentals: f64Transcendental calls.
arithmetic: f64Other operators and calls.
Implementations§
Trait Implementations§
impl Copy for FrameCost
impl StructuralPartialEq for FrameCost
Auto Trait Implementations§
impl Freeze for FrameCost
impl RefUnwindSafe for FrameCost
impl Send for FrameCost
impl Sync for FrameCost
impl Unpin for FrameCost
impl UnsafeUnpin for FrameCost
impl UnwindSafe for FrameCost
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more