pub struct NinesPartData {
pub margins: (f32, f32, f32, f32),
pub fill_mode: NinesFillMode,
}Expand description
Per-part static Nine-Slice authoring, read once from PartTypeNines.
Margins are (left, top, right, bottom) in source-cell pixels.
Fields§
§margins: (f32, f32, f32, f32)§fill_mode: NinesFillModeTrait Implementations§
Source§impl Clone for NinesPartData
impl Clone for NinesPartData
impl Copy for NinesPartData
Auto Trait Implementations§
impl Freeze for NinesPartData
impl RefUnwindSafe for NinesPartData
impl Send for NinesPartData
impl Sync for NinesPartData
impl Unpin for NinesPartData
impl UnsafeUnpin for NinesPartData
impl UnwindSafe for NinesPartData
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