Enum glyph_brush_layout::BuiltInLineBreaker [−][src]
pub enum BuiltInLineBreaker { UnicodeLineBreaker, AnyCharLineBreaker, }
Built-in linebreaking logic.
Variants
UnicodeLineBreaker
LineBreaker that follows Unicode Standard Annex #14. That effectively means it wraps words in a way that should work for most cases.
AnyCharLineBreaker
LineBreaker that soft breaks on any character, and hard breaks similarly to UnicodeLineBreaker.
Trait Implementations
impl Debug for BuiltInLineBreaker
[src]
impl Debug for BuiltInLineBreaker
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for BuiltInLineBreaker
[src]
impl Clone for BuiltInLineBreaker
fn clone(&self) -> BuiltInLineBreaker
[src]
fn clone(&self) -> BuiltInLineBreaker
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Copy for BuiltInLineBreaker
[src]
impl Copy for BuiltInLineBreaker
impl Hash for BuiltInLineBreaker
[src]
impl Hash for BuiltInLineBreaker
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash<__H: Hasher>(&self, state: &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[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0
[src]Feeds a slice of this type into the given [Hasher
]. Read more
impl PartialEq for BuiltInLineBreaker
[src]
impl PartialEq for BuiltInLineBreaker
fn eq(&self, other: &BuiltInLineBreaker) -> bool
[src]
fn eq(&self, other: &BuiltInLineBreaker) -> 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[src]
fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]This method tests for !=
.
impl Eq for BuiltInLineBreaker
[src]
impl Eq for BuiltInLineBreaker
impl Default for BuiltInLineBreaker
[src]
impl Default for BuiltInLineBreaker
impl LineBreaker for BuiltInLineBreaker
[src]
impl LineBreaker for BuiltInLineBreaker
Auto Trait Implementations
impl Send for BuiltInLineBreaker
impl Send for BuiltInLineBreaker
impl Sync for BuiltInLineBreaker
impl Sync for BuiltInLineBreaker