pub struct BindingExt1<P, S1: Source, T: Convenient>(_, _);Implementations
sourceimpl<P: Debug + 'static, S1: Source + 'static, T: Convenient> BindingExt1<P, S1, T>
impl<P: Debug + 'static, S1: Source + 'static, T: Convenient> BindingExt1<P, S1, T>
pub fn new(
state: &mut dyn State,
param: P,
dispatch: fn(_: &mut dyn State, _: Param<P>, _: <<S1 as Source>::Cache as SourceCache<S1::Value>>::Value) -> Re<T>
) -> Self
pub fn set_target(self, state: &mut dyn State, target: Box<dyn Target<T>>)
pub fn set_holder(self, state: &mut dyn State, holder: Box<dyn Holder>)
pub fn dispatch<Context: Clone + 'static>(
self,
state: &mut dyn State,
context: Context,
execute: fn(state: &mut dyn State, context: Context, value: T) -> Re<!>
)
pub fn set_target_fn<Context: Clone + 'static>(
self,
state: &mut dyn State,
context: Context,
execute: fn(state: &mut dyn State, context: Context, value: T)
)
pub fn drop_self(self, state: &mut dyn State)
pub fn set_source_1(self, state: &mut dyn State, source: &mut S1)
Trait Implementations
sourceimpl<P, S1: Source, T: Convenient> Clone for BindingExt1<P, S1, T>
impl<P, S1: Source, T: Convenient> Clone for BindingExt1<P, S1, T>
sourceimpl<P, S1: Source, T: Convenient> ComponentId for BindingExt1<P, S1, T>
impl<P, S1: Source, T: Convenient> ComponentId for BindingExt1<P, S1, T>
sourceimpl<P, S1: Source, T: Convenient> Debug for BindingExt1<P, S1, T>
impl<P, S1: Source, T: Convenient> Debug for BindingExt1<P, S1, T>
sourceimpl<P, S1: Source, T: Convenient> From<BindingExt1<P, S1, T>> for BindingBase<T>
impl<P, S1: Source, T: Convenient> From<BindingExt1<P, S1, T>> for BindingBase<T>
sourcefn from(v: BindingExt1<P, S1, T>) -> BindingBase<T>
fn from(v: BindingExt1<P, S1, T>) -> BindingBase<T>
Converts to this type from the input type.
sourceimpl<P, S1: Source, T: Convenient> From<BindingExt1<P, S1, T>> for AnyBindingBase
impl<P, S1: Source, T: Convenient> From<BindingExt1<P, S1, T>> for AnyBindingBase
sourcefn from(v: BindingExt1<P, S1, T>) -> AnyBindingBase
fn from(v: BindingExt1<P, S1, T>) -> AnyBindingBase
Converts to this type from the input type.
sourceimpl<P, S1: Source, T: Convenient> Hash for BindingExt1<P, S1, T>
impl<P, S1: Source, T: Convenient> Hash for BindingExt1<P, S1, T>
sourceimpl<P, S1: Source, T: Convenient> Ord for BindingExt1<P, S1, T>
impl<P, S1: Source, T: Convenient> Ord for BindingExt1<P, S1, T>
sourceimpl<P, S1: Source, T: Convenient> PartialEq<BindingExt1<P, S1, T>> for BindingExt1<P, S1, T>
impl<P, S1: Source, T: Convenient> PartialEq<BindingExt1<P, S1, T>> for BindingExt1<P, S1, T>
sourceimpl<P, S1: Source, T: Convenient> PartialOrd<BindingExt1<P, S1, T>> for BindingExt1<P, S1, T>
impl<P, S1: Source, T: Convenient> PartialOrd<BindingExt1<P, S1, T>> for BindingExt1<P, S1, T>
sourcefn partial_cmp(&self, other: &Self) -> Option<Ordering>
fn partial_cmp(&self, other: &Self) -> Option<Ordering>
This method returns an ordering between self and other values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self and other) and is used by the <=
operator. Read more
impl<P, S1: Source, T: Convenient> Copy for BindingExt1<P, S1, T>
impl<P, S1: Source, T: Convenient> Eq for BindingExt1<P, S1, T>
Auto Trait Implementations
impl<P, S1, T> !RefUnwindSafe for BindingExt1<P, S1, T>
impl<P, S1, T> Send for BindingExt1<P, S1, T>
impl<P, S1, T> Sync for BindingExt1<P, S1, T>
impl<P, S1, T> Unpin for BindingExt1<P, S1, T>
impl<P, S1, T> !UnwindSafe for BindingExt1<P, S1, T>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Downcast for T where
T: Any,
impl<T> Downcast for T where
T: Any,
sourcefn into_any(self: Box<T, Global>) -> Box<dyn Any + 'static, Global>
fn into_any(self: Box<T, Global>) -> Box<dyn Any + 'static, Global>
Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can
then be further downcast into Box<ConcreteType> where ConcreteType implements Trait. Read more
sourcefn into_any_rc(self: Rc<T>) -> Rc<dyn Any + 'static>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any + 'static>
Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be
further downcast into Rc<ConcreteType> where ConcreteType implements Trait. Read more
sourcefn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s. Read more
sourcefn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s. Read more
sourceimpl<T> DowncastSync for T where
T: Any + Send + Sync,
impl<T> DowncastSync for T where
T: Any + Send + Sync,
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more