Struct ucd_parse::SentenceBreakTest
source · pub struct SentenceBreakTest {
pub sentences: Vec<String>,
pub comment: String,
}
Expand description
A single row in the auxiliary/SentenceBreakTest.txt
file.
This file defines tests for the sentence break algorithm.
Fields§
§sentences: Vec<String>
Each string is a UTF-8 encoded group of codepoints that make up a single sentence.
comment: String
A human readable description of this test.
Trait Implementations§
source§impl Clone for SentenceBreakTest
impl Clone for SentenceBreakTest
source§fn clone(&self) -> SentenceBreakTest
fn clone(&self) -> SentenceBreakTest
Returns a copy 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 SentenceBreakTest
impl Debug for SentenceBreakTest
source§impl Default for SentenceBreakTest
impl Default for SentenceBreakTest
source§fn default() -> SentenceBreakTest
fn default() -> SentenceBreakTest
Returns the “default value” for a type. Read more
source§impl FromStr for SentenceBreakTest
impl FromStr for SentenceBreakTest
source§impl PartialEq for SentenceBreakTest
impl PartialEq for SentenceBreakTest
source§fn eq(&self, other: &SentenceBreakTest) -> bool
fn eq(&self, other: &SentenceBreakTest) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl UcdFile for SentenceBreakTest
impl UcdFile for SentenceBreakTest
impl Eq for SentenceBreakTest
impl StructuralEq for SentenceBreakTest
impl StructuralPartialEq for SentenceBreakTest
Auto Trait Implementations§
impl RefUnwindSafe for SentenceBreakTest
impl Send for SentenceBreakTest
impl Sync for SentenceBreakTest
impl Unpin for SentenceBreakTest
impl UnwindSafe for SentenceBreakTest
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