pub struct SimplePhrase {
pub adjective: &'static str,
pub noun: &'static str,
pub verb: &'static str,
pub adverb: &'static str,
}Fields§
§adjective: &'static str§noun: &'static str§verb: &'static str§adverb: &'static strImplementations§
Source§impl SimplePhrase
impl SimplePhrase
Sourcepub fn hyphenated(self) -> Hyphenated<Self>
pub fn hyphenated(self) -> Hyphenated<Self>
Transform to hyphenated.
Trait Implementations§
Source§impl Clone for SimplePhrase
impl Clone for SimplePhrase
Source§fn clone(&self) -> SimplePhrase
fn clone(&self) -> SimplePhrase
Returns a duplicate 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 SimplePhrase
impl Debug for SimplePhrase
Source§impl Display for SimplePhrase
impl Display for SimplePhrase
Source§impl Hash for SimplePhrase
impl Hash for SimplePhrase
Source§impl Ord for SimplePhrase
impl Ord for SimplePhrase
Source§fn cmp(&self, other: &SimplePhrase) -> Ordering
fn cmp(&self, other: &SimplePhrase) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for SimplePhrase
impl PartialEq for SimplePhrase
Source§impl PartialOrd for SimplePhrase
impl PartialOrd for SimplePhrase
impl Copy for SimplePhrase
impl Eq for SimplePhrase
impl StructuralPartialEq for SimplePhrase
Auto Trait Implementations§
impl Freeze for SimplePhrase
impl RefUnwindSafe for SimplePhrase
impl Send for SimplePhrase
impl Sync for SimplePhrase
impl Unpin for SimplePhrase
impl UnwindSafe for SimplePhrase
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