Struct me3_framework::overlay::text::LayoutSection
source · [−]pub struct LayoutSection {
pub leading_space: f32,
pub byte_range: Range<usize>,
pub format: TextFormat,
}
Fields
leading_space: f32
Can be used for first row indentation.
byte_range: Range<usize>
Range into the galley text
format: TextFormat
Trait Implementations
sourceimpl Clone for LayoutSection
impl Clone for LayoutSection
sourcefn clone(&self) -> LayoutSection
fn clone(&self) -> LayoutSection
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for LayoutSection
impl Debug for LayoutSection
sourceimpl Hash for LayoutSection
impl Hash for LayoutSection
sourceimpl PartialEq<LayoutSection> for LayoutSection
impl PartialEq<LayoutSection> for LayoutSection
sourcefn eq(&self, other: &LayoutSection) -> bool
fn eq(&self, other: &LayoutSection) -> bool
impl StructuralPartialEq for LayoutSection
Auto Trait Implementations
impl RefUnwindSafe for LayoutSection
impl Send for LayoutSection
impl Sync for LayoutSection
impl Unpin for LayoutSection
impl UnwindSafe for LayoutSection
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more