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: Stringoffset_x: i32offset_y: i32parallax_x: i32parallax_y: i32layers: Vec<Layer>clipping: boolclip_x: i32clip_y: i32clip_width: i32clip_height: i32Implementations
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 Groupimpl UnwindSafe for GroupBlanket Implementations
Mutably borrows from an owned value. Read more
type Output = T
type Output = TShould always be Self
pub fn vzip(self) -> V