Struct tego::GroupLayer[][src]

pub struct GroupLayer {
    pub id: usize,
    pub name: String,
    pub offset: ivec2,
    pub opacity: f32,
    pub visible: bool,
    pub content: Vec<Layer>,
}
Expand description

A layer to group multiple sub-layers

Fields

id: usizename: Stringoffset: ivec2opacity: f32visible: boolcontent: Vec<Layer>

Implementations

Load a group layer from a TMX “group” node

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.