Struct feattle::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
sourceimpl Clone for StringFormat
impl Clone for StringFormat
sourcefn clone(&self) -> StringFormat
fn clone(&self) -> StringFormat
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 StringFormat
impl Debug for StringFormat
sourceimpl Display for StringFormat
impl Display for StringFormat
sourceimpl PartialEq<StringFormat> for StringFormat
impl PartialEq<StringFormat> for StringFormat
sourcefn 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 ==
. Read more
sourcefn ne(&self, other: &StringFormat) -> bool
fn ne(&self, other: &StringFormat) -> bool
This method tests for !=
.
sourceimpl Serialize for StringFormat
impl Serialize for StringFormat
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 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
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