pub struct ProxyTarget<'js>(pub Object<'js>);Expand description
Helper type for the proxy target
Tuple Fields§
§0: Object<'js>Trait Implementations§
Source§impl<'js> Clone for ProxyTarget<'js>
impl<'js> Clone for ProxyTarget<'js>
Source§fn clone(&self) -> ProxyTarget<'js>
fn clone(&self) -> ProxyTarget<'js>
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 moreSource§impl<'js> Debug for ProxyTarget<'js>
impl<'js> Debug for ProxyTarget<'js>
Source§impl<'js> FromJs<'js> for ProxyTarget<'js>
impl<'js> FromJs<'js> for ProxyTarget<'js>
Source§impl<'js> Hash for ProxyTarget<'js>
impl<'js> Hash for ProxyTarget<'js>
Source§impl<'js> PartialEq for ProxyTarget<'js>
impl<'js> PartialEq for ProxyTarget<'js>
impl<'js> Eq for ProxyTarget<'js>
impl<'js> StructuralPartialEq for ProxyTarget<'js>
Auto Trait Implementations§
impl<'js> Freeze for ProxyTarget<'js>
impl<'js> RefUnwindSafe for ProxyTarget<'js>
impl<'js> !Send for ProxyTarget<'js>
impl<'js> !Sync for ProxyTarget<'js>
impl<'js> Unpin for ProxyTarget<'js>
impl<'js> !UnwindSafe for ProxyTarget<'js>
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.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