pub struct TilingPattern<'a> {
pub bbox: Rect,
pub x_step: f32,
pub y_step: f32,
pub matrix: Affine,
/* private fields */
}Expand description
A tiling pattern.
Fields§
§bbox: RectThe bbox of the tiling pattern.
x_step: f32The step in the x direction.
y_step: f32The step in the y direction.
matrix: AffineA transformation to apply prior to rendering.
Implementations§
Trait Implementations§
Source§impl CacheKey for TilingPattern<'_>
impl CacheKey for TilingPattern<'_>
Source§impl<'a> Clone for TilingPattern<'a>
impl<'a> Clone for TilingPattern<'a>
Source§fn clone(&self) -> TilingPattern<'a>
fn clone(&self) -> TilingPattern<'a>
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 moreAuto Trait Implementations§
impl<'a> Freeze for TilingPattern<'a>
impl<'a> !RefUnwindSafe for TilingPattern<'a>
impl<'a> !Send for TilingPattern<'a>
impl<'a> !Sync for TilingPattern<'a>
impl<'a> Unpin for TilingPattern<'a>
impl<'a> !UnwindSafe for TilingPattern<'a>
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