pub struct RegionAttachmentData {
pub name: String,
pub path: String,
pub sequence: Option<SequenceDef>,
pub color: [f32; 4],
pub x: f32,
pub y: f32,
pub rotation: f32,
pub scale_x: f32,
pub scale_y: f32,
pub width: f32,
pub height: f32,
}Fields§
§name: String§path: String§sequence: Option<SequenceDef>§color: [f32; 4]§x: f32§y: f32§rotation: f32§scale_x: f32§scale_y: f32§width: f32§height: f32Trait Implementations§
Source§impl Clone for RegionAttachmentData
impl Clone for RegionAttachmentData
Source§fn clone(&self) -> RegionAttachmentData
fn clone(&self) -> RegionAttachmentData
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for RegionAttachmentData
impl RefUnwindSafe for RegionAttachmentData
impl Send for RegionAttachmentData
impl Sync for RegionAttachmentData
impl Unpin for RegionAttachmentData
impl UnwindSafe for RegionAttachmentData
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