pub struct MaaRectBuffer { /* private fields */ }
Implementations§
Source§impl MaaRectBuffer
impl MaaRectBuffer
pub fn new() -> Self
pub fn x(&self) -> i32
pub fn y(&self) -> i32
pub fn width(&self) -> i32
pub fn height(&self) -> i32
pub fn set_x(self, x: i32) -> Self
pub fn set_y(self, y: i32) -> Self
pub fn set_width(self, width: i32) -> Self
pub fn set_height(self, height: i32) -> Self
Trait Implementations§
Source§impl Debug for MaaRectBuffer
impl Debug for MaaRectBuffer
Source§impl Default for MaaRectBuffer
impl Default for MaaRectBuffer
Source§impl Drop for MaaRectBuffer
impl Drop for MaaRectBuffer
Source§impl From<*mut MaaRect> for MaaRectBuffer
impl From<*mut MaaRect> for MaaRectBuffer
Source§fn from(handle: MaaRectHandle) -> Self
fn from(handle: MaaRectHandle) -> Self
Converts to this type from the input type.
impl Send for MaaRectBuffer
impl Sync for MaaRectBuffer
Auto Trait Implementations§
impl Freeze for MaaRectBuffer
impl RefUnwindSafe for MaaRectBuffer
impl Unpin for MaaRectBuffer
impl UnwindSafe for MaaRectBuffer
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