pub struct Extent { /* private fields */ }Implementations§
Source§impl Extent
impl Extent
pub fn cx(&self) -> i64
pub fn get_cx(&self) -> i64
👎Deprecated since 3.0.0:
Use cx()
pub fn set_cx(&mut self, value: i64) -> &mut Extent
pub fn cy(&self) -> i64
pub fn get_cy(&self) -> i64
👎Deprecated since 3.0.0:
Use cy()
pub fn set_cy(&mut self, value: i64) -> &mut Extent
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Extent
impl RefUnwindSafe for Extent
impl Send for Extent
impl Sync for Extent
impl Unpin for Extent
impl UnsafeUnpin for Extent
impl UnwindSafe for Extent
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