pub struct SceneCost {
pub paths: u32,
pub segments: u64,
pub draw_objects: u32,
pub glyphs: u32,
pub clip_depth: u32,
}Expand description
What a valid scene costs, for the service’s per-frame budget.
Fields§
§paths: u32§segments: u64§draw_objects: u32§glyphs: u32§clip_depth: u32Implementations§
Trait Implementations§
impl Copy for SceneCost
impl Eq for SceneCost
impl StructuralPartialEq for SceneCost
Auto Trait Implementations§
impl Forget for SceneCost
impl Freeze for SceneCost
impl Move for SceneCost
impl RefUnwindSafe for SceneCost
impl Send for SceneCost
impl Sync for SceneCost
impl Unpin for SceneCost
impl UnsafeUnpin for SceneCost
impl UnwindSafe for SceneCost
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<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
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