[−][src]Struct qt_core::TileRule
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.
Methods
impl TileRule
[src]
impl TileRule
[src]
pub const StretchTile: TileRule
[src]
Scale the image to fit to the available area. (C++ enum variant: StretchTile = 0
)
pub const RepeatTile: TileRule
[src]
Repeat the image until there is no more space. May crop the last image. (C++ enum variant: RepeatTile = 1
)
pub const RoundTile: TileRule
[src]
Similar to Repeat, but scales the image down to ensure that the last tile is not cropped. (C++ enum variant: RoundTile = 2
)
Trait Implementations
impl Clone for TileRule
[src]
impl Copy for TileRule
[src]
impl Debug for TileRule
[src]
impl Eq for TileRule
[src]
impl From<TileRule> for c_int
[src]
impl From<i32> for TileRule
[src]
impl PartialEq<TileRule> for TileRule
[src]
impl StructuralEq for TileRule
[src]
impl StructuralPartialEq for TileRule
[src]
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
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> CastInto<U> for T where
U: CastFrom<T>,
[src]
U: CastFrom<T>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> StaticUpcast<T> for T
[src]
unsafe fn static_upcast(ptr: Ptr<T>) -> Ptr<T>
[src]
unsafe fn static_upcast_mut(ptr: MutPtr<T>) -> MutPtr<T>
[src]
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,