Enum three::Layout
[−]
[src]
pub enum Layout { SingleLine(Align), Wrap(Align), }
Describes text alignment & wrapping.
See gfx_glyph::Layout
.
Variants
SingleLine(Align)
Renders a single line from left-to-right according to the inner alignment.
Wrap(Align)
Renders multiple lines from left-to-right according to the inner alignment.
Trait Implementations
impl Debug for Layout
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Clone for Layout
[src]
fn clone(&self) -> Layout
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Copy for Layout
[src]
impl PartialEq for Layout
[src]
fn eq(&self, __arg_0: &Layout) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Layout) -> bool
[src]
This method tests for !=
.
impl Eq for Layout
[src]
impl Hash for Layout
[src]
fn hash<__H: Hasher>(&self, __arg_0: &mut __H)
[src]
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]
H: Hasher,
Feeds a slice of this type into the given [Hasher
]. Read more
impl Default for Layout
[src]
impl From<Layout> for Layout<BuiltInLineBreaker>
[src]
fn from(layout: Layout) -> Layout<BuiltInLineBreaker>
[src]
Performs the conversion.