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§
source§impl Clone for SerializedFormat
impl Clone for SerializedFormat
source§fn clone(&self) -> SerializedFormat
fn clone(&self) -> SerializedFormat
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 SerializedFormat
impl Debug for SerializedFormat
source§impl Display for SerializedFormat
impl Display for SerializedFormat
source§impl PartialEq for SerializedFormat
impl PartialEq for SerializedFormat
source§fn 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 ==
.source§impl Serialize for SerializedFormat
impl Serialize for SerializedFormat
source§fn 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 StructuralPartialEq for SerializedFormat
Auto Trait Implementations§
impl Freeze for SerializedFormat
impl RefUnwindSafe for SerializedFormat
impl Send for SerializedFormat
impl Sync for SerializedFormat
impl Unpin for SerializedFormat
impl UnwindSafe for SerializedFormat
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)