pub struct NounPhraseView<'a> {
pub definiteness: Option<Definiteness>,
pub adjectives: Vec<&'a str>,
pub noun: &'a str,
pub possessor: Option<Box<NounPhraseView<'a>>>,
pub pps: Vec<Box<ExprView<'a>>>,
pub superlative: Option<&'a str>,
}Fields§
§definiteness: Option<Definiteness>§adjectives: Vec<&'a str>§noun: &'a str§possessor: Option<Box<NounPhraseView<'a>>>§pps: Vec<Box<ExprView<'a>>>§superlative: Option<&'a str>Trait Implementations§
Source§impl<'a> Clone for NounPhraseView<'a>
impl<'a> Clone for NounPhraseView<'a>
Source§fn clone(&self) -> NounPhraseView<'a>
fn clone(&self) -> NounPhraseView<'a>
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<'a> Debug for NounPhraseView<'a>
impl<'a> Debug for NounPhraseView<'a>
Source§impl<'a> PartialEq for NounPhraseView<'a>
impl<'a> PartialEq for NounPhraseView<'a>
impl<'a> StructuralPartialEq for NounPhraseView<'a>
Auto Trait Implementations§
impl<'a> Freeze for NounPhraseView<'a>
impl<'a> RefUnwindSafe for NounPhraseView<'a>
impl<'a> Send for NounPhraseView<'a>
impl<'a> Sync for NounPhraseView<'a>
impl<'a> Unpin for NounPhraseView<'a>
impl<'a> UnwindSafe for NounPhraseView<'a>
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