Struct bgfx_rs::static_lib::SetViewScissorArgs
source · pub struct SetViewScissorArgs {
pub x: u16,
pub y: u16,
pub width: u16,
pub height: u16,
}
Fields§
§x: u16
Position x from the left corner of the window.
y: u16
Position y from the top corner of the window.
width: u16
Width of view scissor region.
height: u16
Height of view scissor region.
Trait Implementations§
source§impl Default for SetViewScissorArgs
impl Default for SetViewScissorArgs
source§fn default() -> SetViewScissorArgs
fn default() -> SetViewScissorArgs
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for SetViewScissorArgs
impl RefUnwindSafe for SetViewScissorArgs
impl Send for SetViewScissorArgs
impl Sync for SetViewScissorArgs
impl Unpin for SetViewScissorArgs
impl UnwindSafe for SetViewScissorArgs
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