pub struct FrameExtents {
pub left: u32,
pub right: u32,
pub top: u32,
pub bottom: u32,
}
Fields§
§left: u32
§right: u32
§top: u32
§bottom: u32
Implementations§
source§impl FrameExtents
impl FrameExtents
pub fn new(left: u32, right: u32, top: u32, bottom: u32) -> FrameExtents
pub fn from_border(border: u32) -> FrameExtents
Trait Implementations§
source§impl Clone for FrameExtents
impl Clone for FrameExtents
source§fn clone(&self) -> FrameExtents
fn clone(&self) -> FrameExtents
Returns a copy 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 RefUnwindSafe for FrameExtents
impl Send for FrameExtents
impl Sync for FrameExtents
impl Unpin for FrameExtents
impl UnwindSafe for FrameExtents
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