Struct twmap::Group [−][src]
pub struct Group { pub name: String, pub offset_x: i32, pub offset_y: i32, pub parallax_x: i32, pub parallax_y: i32, pub layers: Vec<Layer>, pub clipping: bool, pub clip_x: i32, pub clip_y: i32, pub clip_width: i32, pub clip_height: i32, }
Fields
name: String
offset_x: i32
offset_y: i32
parallax_x: i32
parallax_y: i32
layers: Vec<Layer>
clipping: bool
clip_x: i32
clip_y: i32
clip_width: i32
clip_height: i32
Implementations
Checks if the group contains any physics layers.
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for Group
impl UnwindSafe for Group
Blanket Implementations
Mutably borrows from an owned value. Read more
type Output = T
type Output = T
Should always be Self
pub fn vzip(self) -> V