Struct qt_gui::q_font::SpacingType
source · pub struct SpacingType(/* private fields */);
Expand description
This enum was introduced or modified in Qt 4.4.
C++ enum: QFont::SpacingType
.
This enum was introduced or modified in Qt 4.4.
Implementations§
source§impl SpacingType
impl SpacingType
sourcepub const PercentageSpacing: SpacingType = _
pub const PercentageSpacing: SpacingType = _
A value of 100 will keep the spacing unchanged; a value of 200 will enlarge the spacing after a character by the width of the character itself. (C++ enum variant: PercentageSpacing = 0
)
sourcepub const AbsoluteSpacing: SpacingType = _
pub const AbsoluteSpacing: SpacingType = _
A positive value increases the letter spacing by the corresponding pixels; a negative value decreases the spacing. (C++ enum variant: AbsoluteSpacing = 1
)
Trait Implementations§
source§impl Clone for SpacingType
impl Clone for SpacingType
source§fn clone(&self) -> SpacingType
fn clone(&self) -> SpacingType
Returns a copy 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 Debug for SpacingType
impl Debug for SpacingType
source§impl From<SpacingType> for c_int
impl From<SpacingType> for c_int
source§fn from(value: SpacingType) -> Self
fn from(value: SpacingType) -> Self
Converts to this type from the input type.
source§impl From<i32> for SpacingType
impl From<i32> for SpacingType
source§impl PartialEq for SpacingType
impl PartialEq for SpacingType
source§fn eq(&self, other: &SpacingType) -> bool
fn eq(&self, other: &SpacingType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for SpacingType
impl Eq for SpacingType
impl StructuralEq for SpacingType
impl StructuralPartialEq for SpacingType
Auto Trait Implementations§
impl RefUnwindSafe for SpacingType
impl Send for SpacingType
impl Sync for SpacingType
impl Unpin for SpacingType
impl UnwindSafe for SpacingType
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