pub enum BusMode {
Warp,
TrainCarts,
}Variants§
Trait Implementations§
Source§impl FromSql for BusMode
impl FromSql for BusMode
Source§fn column_result(value: ValueRef<'_>) -> FromSqlResult<Self>
fn column_result(value: ValueRef<'_>) -> FromSqlResult<Self>
Converts SQLite value into Rust value.
impl Copy for BusMode
impl Eq for BusMode
impl StructuralPartialEq for BusMode
Auto Trait Implementations§
impl Freeze for BusMode
impl RefUnwindSafe for BusMode
impl Send for BusMode
impl Sync for BusMode
impl Unpin for BusMode
impl UnsafeUnpin for BusMode
impl UnwindSafe for BusMode
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