Enum cobalt::cobalt_model::SourceFormat [−][src]
pub enum SourceFormat { Raw, Markdown, }
Variants
Raw
Markdown
Trait Implementations
impl Debug for SourceFormat
[src]
impl Debug for SourceFormat
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Eq for SourceFormat
[src]
impl Eq for SourceFormat
impl PartialEq for SourceFormat
[src]
impl PartialEq for SourceFormat
fn eq(&self, other: &SourceFormat) -> bool
[src]
fn eq(&self, other: &SourceFormat) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]This method tests for !=
.
impl Hash for SourceFormat
[src]
impl Hash for SourceFormat
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
Feeds this value into the given [Hasher
]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0
[src]Feeds a slice of this type into the given [Hasher
]. Read more
impl Copy for SourceFormat
[src]
impl Copy for SourceFormat
impl Clone for SourceFormat
[src]
impl Clone for SourceFormat
fn clone(&self) -> SourceFormat
[src]
fn clone(&self) -> SourceFormat
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Default for SourceFormat
[src]
impl Default for SourceFormat
fn default() -> SourceFormat
[src]
fn default() -> SourceFormat
Returns the "default value" for a type. Read more
Auto Trait Implementations
impl Send for SourceFormat
impl Send for SourceFormat
impl Sync for SourceFormat
impl Sync for SourceFormat