Enum broot::conf::SerdeFormat
source · pub enum SerdeFormat {
Hjson,
Toml,
}
Expand description
Formats usable for reading configuration files
Variants§
Implementations§
Trait Implementations§
source§impl Clone for SerdeFormat
impl Clone for SerdeFormat
source§fn clone(&self) -> SerdeFormat
fn clone(&self) -> SerdeFormat
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for SerdeFormat
impl Debug for SerdeFormat
source§impl Default for SerdeFormat
impl Default for SerdeFormat
source§impl PartialEq<SerdeFormat> for SerdeFormat
impl PartialEq<SerdeFormat> for SerdeFormat
source§fn eq(&self, other: &SerdeFormat) -> bool
fn eq(&self, other: &SerdeFormat) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for SerdeFormat
impl Eq for SerdeFormat
impl StructuralEq for SerdeFormat
impl StructuralPartialEq for SerdeFormat
Auto Trait Implementations§
impl RefUnwindSafe for SerdeFormat
impl Send for SerdeFormat
impl Sync for SerdeFormat
impl Unpin for SerdeFormat
impl UnwindSafe for SerdeFormat
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.source§impl<T> IsDefault for Twhere
T: Default + PartialEq<T> + Copy,
impl<T> IsDefault for Twhere T: Default + PartialEq<T> + Copy,
source§fn is_default(&self) -> bool
fn is_default(&self) -> bool
Checks that type has a default value.
§impl<T> Pointable for T
impl<T> Pointable for T
source§impl<R, P> ReadPrimitive<R> for Pwhere
R: Read + ReadEndian<P>,
P: Default,
impl<R, P> ReadPrimitive<R> for Pwhere R: Read + ReadEndian<P>, P: Default,
source§fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
Read this value from the supplied reader. Same as
ReadEndian::read_from_little_endian()
.