Struct gfx_glyph::StandardLineBreaker
[−]
[src]
pub struct StandardLineBreaker;
LineBreaker
that follows Unicode Standard Annex #14. That
effectively means it wraps words in a way that should work for most cases.
Trait Implementations
impl Debug for StandardLineBreaker
[src]
impl Clone for StandardLineBreaker
[src]
fn clone(&self) -> StandardLineBreaker
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Copy for StandardLineBreaker
[src]
impl PartialEq for StandardLineBreaker
[src]
fn eq(&self, __arg_0: &StandardLineBreaker) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0
This method tests for !=
.
impl Eq for StandardLineBreaker
[src]
impl Hash for StandardLineBreaker
[src]
fn hash<__H: Hasher>(&self, __arg_0: &mut __H)
Feeds this value into the given [Hasher
]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0
H: Hasher,
Feeds a slice of this type into the given [Hasher
]. Read more
impl LineBreaker for StandardLineBreaker
[src]
fn line_breaks<'a>(
&self,
glyph_info: &GlyphInfo<'a>
) -> Box<Iterator<Item = LineBreak> + 'a>
&self,
glyph_info: &GlyphInfo<'a>
) -> Box<Iterator<Item = LineBreak> + 'a>