pub struct FiberEvent {
pub to: FiberState,
pub bypass: Option<&'static FiberBypass>,
}Expand description
What a caller asks of a fiber: move to to along an ordinary edge, or through a named bypass.
Fields§
§to: FiberState§bypass: Option<&'static FiberBypass>Implementations§
Source§impl FiberEvent
impl FiberEvent
pub fn to(to: FiberState) -> Self
pub fn bypass(bypass: &'static FiberBypass, to: FiberState) -> Self
Trait Implementations§
Source§impl Clone for FiberEvent
impl Clone for FiberEvent
Source§impl Debug for FiberEvent
impl Debug for FiberEvent
impl Eq for FiberEvent
Source§impl PartialEq for FiberEvent
impl PartialEq for FiberEvent
impl StructuralPartialEq for FiberEvent
Auto Trait Implementations§
impl Forget for FiberEvent
impl Freeze for FiberEvent
impl Move for FiberEvent
impl RefUnwindSafe for FiberEvent
impl Send for FiberEvent
impl Sync for FiberEvent
impl Unpin for FiberEvent
impl UnsafeUnpin for FiberEvent
impl UnwindSafe for FiberEvent
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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§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.