Struct feattle_core::StringFormat
source · pub struct StringFormat {
pub kind: StringFormatKind,
pub tag: String,
}
Expand description
A precise description of a feattle string-type
Fields§
§kind: StringFormatKind
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 StringFormat
impl Clone for StringFormat
source§fn clone(&self) -> StringFormat
fn clone(&self) -> StringFormat
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 StringFormat
impl Debug for StringFormat
source§impl Display for StringFormat
impl Display for StringFormat
source§impl PartialEq<StringFormat> for StringFormat
impl PartialEq<StringFormat> for StringFormat
source§fn eq(&self, other: &StringFormat) -> bool
fn eq(&self, other: &StringFormat) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for StringFormat
impl Serialize for StringFormat
impl Eq for StringFormat
impl StructuralEq for StringFormat
impl StructuralPartialEq for StringFormat
Auto Trait Implementations§
impl RefUnwindSafe for StringFormat
impl Send for StringFormat
impl Sync for StringFormat
impl Unpin for StringFormat
impl UnwindSafe for StringFormat
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