pub struct SliceKey {
pub frame: u32,
pub x: i32,
pub y: i32,
pub width: u32,
pub height: u32,
pub nine_patch: Option<NinePatch>,
pub pivot: Option<(i32, i32)>,
}Expand description
A slice’s bounds at a specific frame.
Fields§
§frame: u32§x: i32§y: i32§width: u32§height: u32§nine_patch: Option<NinePatch>§pivot: Option<(i32, i32)>Trait Implementations§
impl StructuralPartialEq for SliceKey
Auto Trait Implementations§
impl Freeze for SliceKey
impl RefUnwindSafe for SliceKey
impl Send for SliceKey
impl Sync for SliceKey
impl Unpin for SliceKey
impl UnsafeUnpin for SliceKey
impl UnwindSafe for SliceKey
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