[][src]Struct elma::lev::Picture

pub struct Picture {
    pub name: String,
    pub texture: String,
    pub mask: String,
    pub position: Position<f64>,
    pub distance: i32,
    pub clip: Clip,
}

Picture struct.

Fields

name: String

Picture name.

texture: String

Texture name.

mask: String

Mask name.

position: Position<f64>

Position. See Position struct.

distance: i32

Z-distance

clip: Clip

Clipping.

Methods

impl Picture[src]

pub fn new() -> Self[src]

Creates a new picture with default values.

Trait Implementations

impl PartialEq<Picture> for Picture[src]

impl Default for Picture[src]

impl Debug for Picture[src]

Auto Trait Implementations

impl Send for Picture

impl Sync for Picture

Blanket Implementations

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> From for T[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Any for T where
    T: 'static + ?Sized
[src]