pub struct DisplayListImageMask {
pub image: ImageKey,
pub rect: LogicalRect,
pub repeat: bool,
}Fields§
§image: ImageKey§rect: LogicalRect§repeat: boolImplementations§
Source§impl DisplayListImageMask
impl DisplayListImageMask
pub fn scale_for_dpi(&mut self, scale_factor: f32)
Trait Implementations§
Source§impl Clone for DisplayListImageMask
impl Clone for DisplayListImageMask
Source§fn clone(&self) -> DisplayListImageMask
fn clone(&self) -> DisplayListImageMask
Returns a duplicate 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 DisplayListImageMask
impl Debug for DisplayListImageMask
Source§impl PartialEq for DisplayListImageMask
impl PartialEq for DisplayListImageMask
Source§impl PartialOrd for DisplayListImageMask
impl PartialOrd for DisplayListImageMask
impl Copy for DisplayListImageMask
impl StructuralPartialEq for DisplayListImageMask
Auto Trait Implementations§
impl Freeze for DisplayListImageMask
impl RefUnwindSafe for DisplayListImageMask
impl Send for DisplayListImageMask
impl Sync for DisplayListImageMask
impl Unpin for DisplayListImageMask
impl UnwindSafe for DisplayListImageMask
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more