[−][src]Struct olc_pixel_game_engine::layer::LayerDesc
Mirror of the olc::LayerDesc
. Contains layer description, must be treated as read-only since
no modifications to the object are propagated back to the engine.
Does not support Clone and Copy, used as a container for layer information.
Fields
id: u8
Layer id.
offset: Vf2d
Layer offset.
scale: Vf2d
Layer scale.
tint: Pixel
Layer tint.
shown: bool
Whether or not this layer is enabled to be rendered.
sprite: Sprite
Implementations
impl LayerDesc
[src]
Trait Implementations
impl Debug for LayerDesc
[src]
impl PartialEq<LayerDesc> for LayerDesc
[src]
impl StructuralPartialEq for LayerDesc
[src]
Auto Trait Implementations
impl RefUnwindSafe for LayerDesc
impl !Send for LayerDesc
impl !Sync for LayerDesc
impl Unpin for LayerDesc
impl UnwindSafe for LayerDesc
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> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
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>,