#[repr(transparent)]pub struct SizeMode {
pub repr: i32,
}
Expand description
This enum is used by QPainter::drawRoundedRect() and QPainterPath::addRoundedRect() functions to specify the radii of rectangle corners with respect to the dimensions of the bounding rectangles specified.
Fields§
§repr: i32
Implementations§
Source§impl SizeMode
impl SizeMode
Sourcepub const AbsoluteSize: Self
pub const AbsoluteSize: Self
Specifies the size using absolute measurements.
Sourcepub const RelativeSize: Self
pub const RelativeSize: Self
Specifies the size relative to the bounding rectangle, typically using percentage measurements.
Trait Implementations§
Source§impl ExternType for SizeMode
impl ExternType for SizeMode
impl Copy for SizeMode
impl Eq for SizeMode
impl StructuralPartialEq for SizeMode
Auto Trait Implementations§
impl Freeze for SizeMode
impl RefUnwindSafe for SizeMode
impl Send for SizeMode
impl Sync for SizeMode
impl Unpin for SizeMode
impl UnwindSafe for SizeMode
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