pub enum RailMode {
Warp,
Cart,
TrainCarts,
Vehicles,
}Variants§
Trait Implementations§
Source§impl FromSql for RailMode
impl FromSql for RailMode
Source§fn column_result(value: ValueRef<'_>) -> FromSqlResult<Self>
fn column_result(value: ValueRef<'_>) -> FromSqlResult<Self>
Converts SQLite value into Rust value.
impl Copy for RailMode
impl Eq for RailMode
impl StructuralPartialEq for RailMode
Auto Trait Implementations§
impl Freeze for RailMode
impl RefUnwindSafe for RailMode
impl Send for RailMode
impl Sync for RailMode
impl Unpin for RailMode
impl UnsafeUnpin for RailMode
impl UnwindSafe for RailMode
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more