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