pub struct Sentence(/* private fields */);Expand description
A Sentence is a representation of the Input sentence which is a Vector of Word.
Implementations§
Trait Implementations§
Source§impl Decodable<Sentence> for EncodedSentence
A sentence can be decoded from a Unicode Encoded Sentence.
impl Decodable<Sentence> for EncodedSentence
A sentence can be decoded from a Unicode Encoded Sentence.
Source§impl Encodable<EncodedSentence> for Sentence
A whole sentence can be encoded into Unicode code.
impl Encodable<EncodedSentence> for Sentence
A whole sentence can be encoded into Unicode code.
fn encode(&self) -> Result<EncodedSentence, ParseIntError>
Source§impl From<EncodedSentence> for Sentence
impl From<EncodedSentence> for Sentence
Source§fn from(sentence_dec: EncodedSentence) -> Self
fn from(sentence_dec: EncodedSentence) -> Self
Converts to this type from the input type.
Source§impl From<Sentence> for EncodedSentence
impl From<Sentence> for EncodedSentence
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