Struct qt_gui::q_text_length::Type
source · pub struct Type(/* private fields */);
Expand description
This enum describes the different types a length object can have.
C++ enum: QTextLength::Type
.
This enum describes the different types a length object can have.
See also type().
Implementations§
source§impl Type
impl Type
sourcepub const VariableLength: Type = _
pub const VariableLength: Type = _
The width of the object is variable (C++ enum variant: VariableLength = 0
)
sourcepub const FixedLength: Type = _
pub const FixedLength: Type = _
The width of the object is fixed (C++ enum variant: FixedLength = 1
)
sourcepub const PercentageLength: Type = _
pub const PercentageLength: Type = _
The width of the object is in percentage of the maximum width (C++ enum variant: PercentageLength = 2
)
Trait Implementations§
source§impl PartialEq for Type
impl PartialEq for Type
impl Copy for Type
impl Eq for Type
impl StructuralEq for Type
impl StructuralPartialEq for Type
Auto Trait Implementations§
impl RefUnwindSafe for Type
impl Send for Type
impl Sync for Type
impl Unpin for Type
impl UnwindSafe for Type
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