pub struct RenderProperties {
pub style: Style,
pub valign: VAlign,
pub halign: HAlign,
pub offset: u32,
}Expand description
Properties controlling how content is rendered within a region.
Fields§
§style: StyleText style to apply.
valign: VAlignVertical alignment.
halign: HAlignHorizontal alignment.
offset: u32Character offset for continued rendering.
Trait Implementations§
Source§impl Clone for RenderProperties
impl Clone for RenderProperties
Source§fn clone(&self) -> RenderProperties
fn clone(&self) -> RenderProperties
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Default for RenderProperties
impl Default for RenderProperties
Source§fn default() -> RenderProperties
fn default() -> RenderProperties
Returns the “default value” for a type. Read more
Source§impl RenderProperty for RenderProperties
impl RenderProperty for RenderProperties
Source§fn apply(self, properties: &mut RenderProperties)
fn apply(self, properties: &mut RenderProperties)
Applies this property to the given render properties.
impl Copy for RenderProperties
Auto Trait Implementations§
impl Freeze for RenderProperties
impl RefUnwindSafe for RenderProperties
impl Send for RenderProperties
impl Sync for RenderProperties
impl Unpin for RenderProperties
impl UnwindSafe for RenderProperties
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more