pub enum TranslationType {
Sub,
Dub,
}Variants§
Trait Implementations§
Source§impl Clone for TranslationType
impl Clone for TranslationType
Source§fn clone(&self) -> TranslationType
fn clone(&self) -> TranslationType
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for TranslationType
Source§impl Debug for TranslationType
impl Debug for TranslationType
Source§impl Default for TranslationType
impl Default for TranslationType
Source§fn default() -> TranslationType
fn default() -> TranslationType
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TranslationType
impl<'de> Deserialize<'de> for TranslationType
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
Source§impl Display for TranslationType
impl Display for TranslationType
impl Eq for TranslationType
Source§impl FromStr for TranslationType
impl FromStr for TranslationType
Source§impl PartialEq for TranslationType
impl PartialEq for TranslationType
Source§impl Serialize for TranslationType
impl Serialize for TranslationType
impl StructuralPartialEq for TranslationType
Auto Trait Implementations§
impl Freeze for TranslationType
impl RefUnwindSafe for TranslationType
impl Send for TranslationType
impl Sync for TranslationType
impl Unpin for TranslationType
impl UnsafeUnpin for TranslationType
impl UnwindSafe for TranslationType
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