Enum kas::event::ChildMsg [−][src]
pub enum ChildMsg<K, M> {
Select(K),
Deselect(K),
Child(K, M),
}
Expand description
A keyed message from a child
This type is used by some containers to forward messages from children.
Variants
Trait Implementations
Auto Trait Implementations
impl<K, M> RefUnwindSafe for ChildMsg<K, M> where
K: RefUnwindSafe,
M: RefUnwindSafe,
impl<K, M> UnwindSafe for ChildMsg<K, M> where
K: UnwindSafe,
M: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn cast_trunc(self) -> T
pub fn cast_trunc(self) -> T
Cast to integer, truncating Read more
pub fn cast_nearest(self) -> T
pub fn cast_nearest(self) -> T
Cast to the nearest integer Read more
pub fn cast_floor(self) -> T
pub fn cast_floor(self) -> T
Cast the floor to an integer Read more
pub fn try_cast_trunc(self) -> Result<T, Error>
pub fn try_cast_trunc(self) -> Result<T, Error>
Try converting to integer with truncation Read more
pub fn try_cast_nearest(self) -> Result<T, Error>
pub fn try_cast_nearest(self) -> Result<T, Error>
Try converting to the nearest integer Read more
pub fn try_cast_floor(self) -> Result<T, Error>
pub fn try_cast_floor(self) -> Result<T, Error>
Try converting the floor to an integer Read more
pub fn try_cast_ceil(self) -> Result<T, Error>
pub fn try_cast_ceil(self) -> Result<T, Error>
Try convert the ceiling to an integer Read more