pub struct ImageLayerData {
pub image: Option<Image>,
pub repeat_x: bool,
pub repeat_y: bool,
}Expand description
The raw data of an ImageLayer. Does not include a reference to its parent Map.
Fields§
§image: Option<Image>The single image this layer contains, if it exists.
repeat_x: boolThe layer’s x repeat factor (true = repeat, false = no repeat).
repeat_y: boolThe layer’s y repeat factor (true = repeat, false = no repeat).
Trait Implementations§
Source§impl Clone for ImageLayerData
impl Clone for ImageLayerData
Source§fn clone(&self) -> ImageLayerData
fn clone(&self) -> ImageLayerData
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 ImageLayerData
impl Debug for ImageLayerData
Source§impl PartialEq for ImageLayerData
impl PartialEq for ImageLayerData
impl StructuralPartialEq for ImageLayerData
Auto Trait Implementations§
impl Freeze for ImageLayerData
impl RefUnwindSafe for ImageLayerData
impl Send for ImageLayerData
impl Sync for ImageLayerData
impl Unpin for ImageLayerData
impl UnwindSafe for ImageLayerData
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