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> where
P: RefUnwindSafe,
S1: RefUnwindSafe,
T: RefUnwindSafe,
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> where
P: UnwindSafe,
S1: UnwindSafe,
T: UnwindSafe,
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