#[repr(C)]pub struct NPatchInfo {
pub source: Rectangle,
pub left: i32,
pub top: i32,
pub right: i32,
pub bottom: i32,
pub layout: NPatchLayout,
}Fields§
§source: Rectangle§left: i32§top: i32§right: i32§bottom: i32§layout: NPatchLayoutTrait Implementations§
Source§impl Clone for NPatchInfo
impl Clone for NPatchInfo
Source§fn clone(&self) -> NPatchInfo
fn clone(&self) -> NPatchInfo
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 moreSource§impl Debug for NPatchInfo
impl Debug for NPatchInfo
Source§impl From<NPatchInfo> for NPatchInfo
impl From<NPatchInfo> for NPatchInfo
Source§fn from(v: NPatchInfo) -> NPatchInfo
fn from(v: NPatchInfo) -> NPatchInfo
Converts to this type from the input type.
Source§impl Into<NPatchInfo> for &NPatchInfo
impl Into<NPatchInfo> for &NPatchInfo
Source§fn into(self) -> NPatchInfo
fn into(self) -> NPatchInfo
Converts this type into the (usually inferred) input type.
Source§impl Into<NPatchInfo> for NPatchInfo
impl Into<NPatchInfo> for NPatchInfo
Source§fn into(self) -> NPatchInfo
fn into(self) -> NPatchInfo
Converts this type into the (usually inferred) input type.
impl Copy for NPatchInfo
Auto Trait Implementations§
impl Freeze for NPatchInfo
impl RefUnwindSafe for NPatchInfo
impl Send for NPatchInfo
impl Sync for NPatchInfo
impl Unpin for NPatchInfo
impl UnwindSafe for NPatchInfo
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