pub struct Box(/* private fields */);
Expand description
Wrapper around D3D12_BOX structure
Implementations§
Source§impl Box
impl Box
pub fn set_left(&mut self, left: u32) -> &mut Self
pub fn with_left(self, left: u32) -> Self
pub fn left(&self) -> u32
pub fn set_top(&mut self, top: u32) -> &mut Self
pub fn with_top(self, top: u32) -> Self
pub fn top(&self) -> u32
pub fn set_front(&mut self, front: u32) -> &mut Self
pub fn with_front(self, front: u32) -> Self
pub fn front(&self) -> u32
pub fn set_right(&mut self, right: u32) -> &mut Self
pub fn with_right(self, right: u32) -> Self
pub fn right(&self) -> u32
pub fn set_bottom(&mut self, bottom: u32) -> &mut Self
pub fn with_bottom(self, bottom: u32) -> Self
pub fn bottom(&self) -> u32
pub fn set_back(&mut self, back: u32) -> &mut Self
pub fn with_back(self, back: u32) -> Self
pub fn back(&self) -> u32
Trait Implementations§
Source§impl Ord for Box
impl Ord for Box
Source§impl PartialOrd for Box
impl PartialOrd for Box
impl Eq for Box
impl StructuralPartialEq for Box
Auto Trait Implementations§
impl Freeze for Box
impl RefUnwindSafe for Box
impl Send for Box
impl Sync for Box
impl Unpin for Box
impl UnwindSafe for Box
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