pub struct AsepriteNinePatchInfo {
pub x_center: i32,
pub y_center: i32,
pub width: u32,
pub height: u32,
}
Expand description
9-Patch slice info
Fields§
§x_center: i32
x center, relative to slice bounds
y_center: i32
y center, relative to slice bounds
width: u32
width of center
height: u32
height of center
Trait Implementations§
Source§impl Clone for AsepriteNinePatchInfo
impl Clone for AsepriteNinePatchInfo
Source§fn clone(&self) -> AsepriteNinePatchInfo
fn clone(&self) -> AsepriteNinePatchInfo
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 AsepriteNinePatchInfo
impl RefUnwindSafe for AsepriteNinePatchInfo
impl Send for AsepriteNinePatchInfo
impl Sync for AsepriteNinePatchInfo
impl Unpin for AsepriteNinePatchInfo
impl UnwindSafe for AsepriteNinePatchInfo
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