pub struct Trans(pub usize, pub f32);
Expand description
A state index and probability for a transition.
Tuple Fields§
§0: usize
§1: f32
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Trans
impl<'de> Deserialize<'de> for Trans
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Copy for Trans
impl StructuralPartialEq for Trans
Auto Trait Implementations§
impl Freeze for Trans
impl RefUnwindSafe for Trans
impl Send for Trans
impl Sync for Trans
impl Unpin for Trans
impl UnwindSafe for Trans
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