pub struct Sentence(pub Vec<Word>);Tuple Fields§
§0: Vec<Word>Implementations§
Trait Implementations§
Source§impl From<SentenceFromBytes> for Sentence
impl From<SentenceFromBytes> for Sentence
Source§fn from(sfb: SentenceFromBytes) -> Self
fn from(sfb: SentenceFromBytes) -> Self
Converts to this type from the input type.
Source§impl From<SentenceFromText> for Sentence
impl From<SentenceFromText> for Sentence
Source§fn from(sft: SentenceFromText) -> Self
fn from(sft: SentenceFromText) -> Self
Converts to this type from the input type.
Source§impl PartialOrd for Sentence
impl PartialOrd for Sentence
Source§impl Serialize for Sentence
impl Serialize for Sentence
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 StructuralPartialEq for Sentence
Auto Trait Implementations§
impl Freeze for Sentence
impl RefUnwindSafe for Sentence
impl Send for Sentence
impl Sync for Sentence
impl Unpin for Sentence
impl UnwindSafe for Sentence
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