Enum ftd::TextSource
source · [−]pub enum TextSource {
Header,
Caption,
Body,
Default,
}
Variants
Header
Caption
Body
Default
Implementations
Trait Implementations
sourceimpl Clone for TextSource
impl Clone for TextSource
sourcefn clone(&self) -> TextSource
fn clone(&self) -> TextSource
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for TextSource
impl Debug for TextSource
sourceimpl<'de> Deserialize<'de> for TextSource
impl<'de> Deserialize<'de> for TextSource
sourcefn 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
sourceimpl PartialEq<TextSource> for TextSource
impl PartialEq<TextSource> for TextSource
sourcefn eq(&self, other: &TextSource) -> bool
fn eq(&self, other: &TextSource) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourceimpl Serialize for TextSource
impl Serialize for TextSource
impl StructuralPartialEq for TextSource
Auto Trait Implementations
impl RefUnwindSafe for TextSource
impl Send for TextSource
impl Sync for TextSource
impl Unpin for TextSource
impl UnwindSafe for TextSource
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more