[−][src]Struct azul_core::ui_solver::InlineTextLayout
Fields
lines: Vec<InlineTextLine>
Implementations
impl InlineTextLayout
[src]
pub fn get_leading(&self) -> f32
[src]
pub fn get_trailing(&self) -> f32
[src]
pub const fn new(lines: Vec<InlineTextLine>) -> Self
[src]
#[must_use]pub fn get_bounds(&self) -> LayoutRect
[src]
#[must_use]pub fn get_children_horizontal_diff_to_right_edge(
&self,
parent: &LayoutRect
) -> Vec<f32>
[src]
&self,
parent: &LayoutRect
) -> Vec<f32>
pub fn align_children_horizontal(
&mut self,
horizontal_alignment: StyleTextAlignmentHorz
)
[src]
&mut self,
horizontal_alignment: StyleTextAlignmentHorz
)
Align the lines horizontal to their bounding box
pub fn align_children_vertical_in_parent_bounds(
&mut self,
parent_size: &LayoutSize,
vertical_alignment: StyleTextAlignmentVert
)
[src]
&mut self,
parent_size: &LayoutSize,
vertical_alignment: StyleTextAlignmentVert
)
Align the lines vertical to their parents container
Trait Implementations
impl Clone for InlineTextLayout
[src]
fn clone(&self) -> InlineTextLayout
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for InlineTextLayout
[src]
impl PartialEq<InlineTextLayout> for InlineTextLayout
[src]
fn eq(&self, other: &InlineTextLayout) -> bool
[src]
fn ne(&self, other: &InlineTextLayout) -> bool
[src]
impl PartialOrd<InlineTextLayout> for InlineTextLayout
[src]
fn partial_cmp(&self, other: &InlineTextLayout) -> Option<Ordering>
[src]
fn lt(&self, other: &InlineTextLayout) -> bool
[src]
fn le(&self, other: &InlineTextLayout) -> bool
[src]
fn gt(&self, other: &InlineTextLayout) -> bool
[src]
fn ge(&self, other: &InlineTextLayout) -> bool
[src]
impl StructuralPartialEq for InlineTextLayout
[src]
Auto Trait Implementations
impl RefUnwindSafe for InlineTextLayout
impl Send for InlineTextLayout
impl Sync for InlineTextLayout
impl Unpin for InlineTextLayout
impl UnwindSafe for InlineTextLayout
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,