pub struct TileRule(/* private fields */);
Expand description
This enum describes how to repeat or stretch the parts of an image when drawing.
C++ enum: Qt::TileRule
.
This enum describes how to repeat or stretch the parts of an image when drawing.
This enum was introduced or modified in Qt 4.6.
Implementations§
source§impl TileRule
impl TileRule
sourcepub const StretchTile: TileRule = _
pub const StretchTile: TileRule = _
Scale the image to fit to the available area. (C++ enum variant: StretchTile = 0
)
sourcepub const RepeatTile: TileRule = _
pub const RepeatTile: TileRule = _
Repeat the image until there is no more space. May crop the last image. (C++ enum variant: RepeatTile = 1
)
Trait Implementations§
source§impl PartialEq for TileRule
impl PartialEq for TileRule
impl Copy for TileRule
impl Eq for TileRule
impl StructuralEq for TileRule
impl StructuralPartialEq for TileRule
Auto Trait Implementations§
impl RefUnwindSafe for TileRule
impl Send for TileRule
impl Sync for TileRule
impl Unpin for TileRule
impl UnwindSafe for TileRule
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