pub struct Performance { /* private fields */ }
Implementations§
Source§impl Performance
impl Performance
Trait Implementations§
Source§impl Clone for Performance
impl Clone for Performance
Source§impl<'js> ConstructorCreator<'js, Performance> for ConstructorCreate<Performance>
impl<'js> ConstructorCreator<'js, Performance> for ConstructorCreate<Performance>
fn create_constructor(&self, ctx: &Ctx<'js>) -> Result<Option<Constructor<'js>>>
Source§impl Debug for Performance
impl Debug for Performance
Source§impl From<Performance> for (Clock, Instant)
impl From<Performance> for (Clock, Instant)
Source§fn from(value: Performance) -> Self
fn from(value: Performance) -> Self
Converts to this type from the input type.
Source§impl<'js> FromJs<'js> for Performancewhere
for<'a> CloneWrapper<'a, Self>: CloneTrait<Self>,
impl<'js> FromJs<'js> for Performancewhere
for<'a> CloneWrapper<'a, Self>: CloneTrait<Self>,
Source§impl<'js> IntoJs<'js> for Performance
impl<'js> IntoJs<'js> for Performance
Source§impl<'js> JsClass<'js> for Performance
impl<'js> JsClass<'js> for Performance
Source§fn constructor(ctx: &Ctx<'js>) -> Result<Option<Constructor<'js>>>
fn constructor(ctx: &Ctx<'js>) -> Result<Option<Constructor<'js>>>
Returns a predefined constructor for this specific class type if there is one.
Source§impl<'js> JsLifetime<'js> for Performance
impl<'js> JsLifetime<'js> for Performance
Source§type Changed<'to> = Performance
type Changed<'to> = Performance
The target which has the same type as a
Self
but with another lifetime 't
Source§impl MethodImplementor<Performance> for MethodImpl<Performance>
impl MethodImplementor<Performance> for MethodImpl<Performance>
Auto Trait Implementations§
impl Freeze for Performance
impl RefUnwindSafe for Performance
impl Send for Performance
impl Sync for Performance
impl Unpin for Performance
impl UnwindSafe for Performance
Blanket Implementations§
Source§impl<'js, T> AsProperty<'js, T> for Twhere
T: IntoJs<'js>,
impl<'js, T> AsProperty<'js, T> for Twhere
T: IntoJs<'js>,
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<'js, T> FromParam<'js> for Twhere
T: FromJs<'js>,
impl<'js, T> FromParam<'js> for Twhere
T: FromJs<'js>,
Source§fn param_requirement() -> ParamRequirement
fn param_requirement() -> ParamRequirement
The parameters requirements this value requires.
Source§fn from_param<'a>(params: &mut ParamsAccessor<'a, 'js>) -> Result<T, Error>
fn from_param<'a>(params: &mut ParamsAccessor<'a, 'js>) -> Result<T, Error>
Convert from a parameter value.
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