pub struct DecalItem { /* private fields */ }
Expand description
A single decal pattern.
Implementations§
Source§impl DecalItem
impl DecalItem
pub fn new() -> DecalItem
pub fn symbol<S: Into<Symbol>>(self, symbol: S) -> DecalItem
pub fn symbol_size<F: Into<i64>>(self, symbol_size: F) -> DecalItem
pub fn symbol_keep_aspect(self, symbol_keep_aspect: bool) -> DecalItem
pub fn color<C: Into<Color>>(self, color: C) -> DecalItem
pub fn background_color<C: Into<Color>>(self, background_color: C) -> DecalItem
pub fn dash_array_x<F: Into<CompositeValue>>(self, dash_array_x: F) -> DecalItem
pub fn dash_array_y<F: Into<CompositeValue>>(self, dash_array_y: F) -> DecalItem
pub fn rotation<F: Into<i64>>(self, rotation: F) -> DecalItem
pub fn max_tile_width<F: Into<i64>>(self, max_tile_width: F) -> DecalItem
pub fn max_tile_height<F: Into<i64>>(self, max_tile_height: F) -> DecalItem
Trait Implementations§
Auto Trait Implementations§
impl Freeze for DecalItem
impl RefUnwindSafe for DecalItem
impl Send for DecalItem
impl Sync for DecalItem
impl Unpin for DecalItem
impl UnwindSafe for DecalItem
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> 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