pub struct TextHeightBehavior {
pub apply_height_to_first_ascent: bool,
pub apply_height_to_last_descent: bool,
}Fields§
§apply_height_to_first_ascent: bool§apply_height_to_last_descent: boolTrait Implementations§
Source§impl Clone for TextHeightBehavior
impl Clone for TextHeightBehavior
Source§fn clone(&self) -> TextHeightBehavior
fn clone(&self) -> TextHeightBehavior
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 moreSource§impl Debug for TextHeightBehavior
impl Debug for TextHeightBehavior
Source§impl Default for TextHeightBehavior
impl Default for TextHeightBehavior
Source§impl<'de> Deserialize<'de> for TextHeightBehavior
impl<'de> Deserialize<'de> for TextHeightBehavior
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Hash for TextHeightBehavior
impl Hash for TextHeightBehavior
Source§impl PartialEq for TextHeightBehavior
impl PartialEq for TextHeightBehavior
Source§fn eq(&self, other: &TextHeightBehavior) -> bool
fn eq(&self, other: &TextHeightBehavior) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for TextHeightBehavior
impl Serialize for TextHeightBehavior
impl Copy for TextHeightBehavior
impl Eq for TextHeightBehavior
impl StructuralPartialEq for TextHeightBehavior
Auto Trait Implementations§
impl Freeze for TextHeightBehavior
impl RefUnwindSafe for TextHeightBehavior
impl Send for TextHeightBehavior
impl Sync for TextHeightBehavior
impl Unpin for TextHeightBehavior
impl UnsafeUnpin for TextHeightBehavior
impl UnwindSafe for TextHeightBehavior
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