[−][src]Enum docuglot::Language
The languages supported by docuglot.
Variants
Rust.
Plain text.
Trait Implementations
impl Clone for Language
[src]
impl Copy for Language
[src]
impl Debug for Language
[src]
impl Display for Language
[src]
impl<V> Enum<V> for Language
[src]
type Array = [V; 2]
Representation of an enum map for type V
, usually an array.
const POSSIBLE_VALUES: usize
[src]
fn slice(array: &Self::Array) -> &[V]
[src]
fn slice_mut(array: &mut Self::Array) -> &mut [V]
[src]
fn from_usize(value: usize) -> Self
[src]
fn to_usize(self) -> usize
[src]
fn from_function<F: FnMut(Self) -> V>(_f: F) -> Self::Array
[src]
impl PartialEq<Language> for Language
[src]
impl StructuralPartialEq for Language
[src]
Auto Trait Implementations
impl RefUnwindSafe for Language
impl Send for Language
impl Sync for Language
impl Unpin for Language
impl UnwindSafe for Language
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<N, S> AssembleInto<S> for N where
S: AssembleFrom<N>,
[src]
S: AssembleFrom<N>,
type Error = <S as AssembleFrom<N>>::Error
The type of the error that could be thrown during assembly.
fn assemble_into(
components: &mut Vec<N>
) -> Result<S, AssembleFailure<<N as AssembleInto<S>>::Error>>
[src]
components: &mut Vec<N>
) -> Result<S, AssembleFailure<<N as AssembleInto<S>>::Error>>
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<N, S> DisassembleInto<N> for S where
N: DisassembleFrom<S>,
[src]
N: DisassembleFrom<S>,
type Error = <N as DisassembleFrom<S>>::Error
The type of the error that could be thrown during disassembly.
fn disassemble_into(self) -> Result<Vec<N>, <S as DisassembleInto<N>>::Error>
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,