pub struct TextInsets {
pub left: f64,
pub top: f64,
pub right: f64,
pub bottom: f64,
}Expand description
Text-box edge insets in points.
Fields§
§left: f64§top: f64§right: f64§bottom: f64Trait Implementations§
Source§impl Clone for TextInsets
impl Clone for TextInsets
Source§fn clone(&self) -> TextInsets
fn clone(&self) -> TextInsets
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for TextInsets
Source§impl Debug for TextInsets
impl Debug for TextInsets
Source§impl Default for TextInsets
impl Default for TextInsets
Source§fn default() -> TextInsets
fn default() -> TextInsets
Returns the “default value” for a type. Read more
Source§impl PartialEq for TextInsets
impl PartialEq for TextInsets
impl StructuralPartialEq for TextInsets
Auto Trait Implementations§
impl Freeze for TextInsets
impl RefUnwindSafe for TextInsets
impl Send for TextInsets
impl Sync for TextInsets
impl Unpin for TextInsets
impl UnsafeUnpin for TextInsets
impl UnwindSafe for TextInsets
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