Struct feattle::SerializedFormat
source · [−]pub struct SerializedFormat {
pub kind: SerializedFormatKind,
pub tag: String,
}
Expand description
A precise description of a feattle type
Fields
kind: SerializedFormatKind
An exact and machine-readable description of the format
tag: String
A human-readable description of the format, shown by Display
Trait Implementations
sourceimpl Clone for SerializedFormat
impl Clone for SerializedFormat
sourcefn clone(&self) -> SerializedFormat
fn clone(&self) -> SerializedFormat
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 SerializedFormat
impl Debug for SerializedFormat
sourceimpl Display for SerializedFormat
impl Display for SerializedFormat
sourceimpl PartialEq<SerializedFormat> for SerializedFormat
impl PartialEq<SerializedFormat> for SerializedFormat
sourcefn eq(&self, other: &SerializedFormat) -> bool
fn eq(&self, other: &SerializedFormat) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &SerializedFormat) -> bool
fn ne(&self, other: &SerializedFormat) -> bool
This method tests for !=
.
sourceimpl Serialize for SerializedFormat
impl Serialize for SerializedFormat
sourcefn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl Eq for SerializedFormat
impl StructuralEq for SerializedFormat
impl StructuralPartialEq for SerializedFormat
Auto Trait Implementations
impl RefUnwindSafe for SerializedFormat
impl Send for SerializedFormat
impl Sync for SerializedFormat
impl Unpin for SerializedFormat
impl UnwindSafe for SerializedFormat
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
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more