[−][src]Struct spair::Comp
Implementations
impl<C: Component> Comp<C>
[src]
pub fn update<Cl>(&self, fn_update: &impl Fn(&mut C) -> Cl) where
Cl: Into<Checklist<C>>,
[src]
Cl: Into<Checklist<C>>,
pub fn update_arg<T, Cl>(&self, arg: T, fn_update: &impl Fn(&mut C, T) -> Cl) where
Cl: Into<Checklist<C>>,
[src]
Cl: Into<Checklist<C>>,
pub fn update_child_comps<Cl>(
&self,
fn_update: &impl Fn(&mut C, &mut C::Components) -> Cl
) where
Cl: Into<Checklist<C>>,
[src]
&self,
fn_update: &impl Fn(&mut C, &mut C::Components) -> Cl
) where
Cl: Into<Checklist<C>>,
pub fn update_child_comps_arg<T, Cl>(
&self,
arg: T,
fn_update: &impl Fn(&mut C, &mut C::Components, T) -> Cl
) where
Cl: Into<Checklist<C>>,
[src]
&self,
arg: T,
fn_update: &impl Fn(&mut C, &mut C::Components, T) -> Cl
) where
Cl: Into<Checklist<C>>,
pub fn callback<Cl>(&self, fn_update: impl Fn(&mut C) -> Cl) -> impl Fn() where
Cl: Into<Checklist<C>>,
[src]
Cl: Into<Checklist<C>>,
pub fn callback_arg<T, Cl>(
&self,
fn_update: impl Fn(&mut C, T) -> Cl
) -> impl Fn(T) where
Cl: Into<Checklist<C>>,
[src]
&self,
fn_update: impl Fn(&mut C, T) -> Cl
) -> impl Fn(T) where
Cl: Into<Checklist<C>>,
pub fn callback_child_comps<Cl>(
&self,
fn_update: impl Fn(&mut C, &mut C::Components) -> Cl
) -> impl Fn() where
Cl: Into<Checklist<C>>,
[src]
&self,
fn_update: impl Fn(&mut C, &mut C::Components) -> Cl
) -> impl Fn() where
Cl: Into<Checklist<C>>,
pub fn callback_child_comps_arg<T, Cl>(
&self,
fn_update: impl Fn(&mut C, &mut C::Components, T) -> Cl
) -> impl Fn(T) where
Cl: Into<Checklist<C>>,
[src]
&self,
fn_update: impl Fn(&mut C, &mut C::Components, T) -> Cl
) -> impl Fn(T) where
Cl: Into<Checklist<C>>,
pub fn handler<T, Cl>(&self, fn_update: impl Fn(&mut C) -> Cl) -> impl Fn(T) where
Cl: Into<Checklist<C>>,
[src]
Cl: Into<Checklist<C>>,
pub fn handler_arg<T, Cl>(
&self,
fn_update: impl Fn(&mut C, T) -> Cl
) -> impl Fn(T) where
Cl: Into<Checklist<C>>,
[src]
&self,
fn_update: impl Fn(&mut C, T) -> Cl
) -> impl Fn(T) where
Cl: Into<Checklist<C>>,
pub fn handler_child_comps<T, Cl>(
&self,
fn_update: impl Fn(&mut C, &mut C::Components) -> Cl
) -> impl Fn(T) where
Cl: Into<Checklist<C>>,
[src]
&self,
fn_update: impl Fn(&mut C, &mut C::Components) -> Cl
) -> impl Fn(T) where
Cl: Into<Checklist<C>>,
Trait Implementations
impl<C: Component> Clone for Comp<C>
[src]
fn clone(&self) -> Self
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Auto Trait Implementations
impl<C> !RefUnwindSafe for Comp<C>
impl<C> !Send for Comp<C>
impl<C> !Sync for Comp<C>
impl<C> Unpin for Comp<C>
impl<C> !UnwindSafe for Comp<C>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,