Struct rusty_spine::RegionProps
source · pub struct RegionProps {
pub x: f32,
pub y: f32,
pub scale_x: f32,
pub scale_y: f32,
pub rotation: f32,
pub width: f32,
pub height: f32,
pub color: Color,
}
Expand description
Properties for updating RegionAttachment
.
Fields§
§x: f32
§y: f32
§scale_x: f32
§scale_y: f32
§rotation: f32
§width: f32
§height: f32
§color: Color
Trait Implementations§
Auto Trait Implementations§
impl Freeze for RegionProps
impl RefUnwindSafe for RegionProps
impl Send for RegionProps
impl Sync for RegionProps
impl Unpin for RegionProps
impl UnwindSafe for RegionProps
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more