pub struct FrameExtents {
pub left: u64,
pub right: u64,
pub top: u64,
pub bottom: u64,
}Fields§
§left: u64§right: u64§top: u64§bottom: u64Implementations§
source§impl FrameExtents
impl FrameExtents
pub fn new(left: u64, right: u64, top: u64, bottom: u64) -> FrameExtents
pub fn from_border(border: u64) -> 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