pub struct BoundingBoxes(/* private fields */);Expand description
This structure contains the bounding boxes for a scene.
Implementations§
Source§impl BoundingBoxes
impl BoundingBoxes
pub fn new( scene_index: i32, bounding_box: IntRectInterop, bounding_box_layer0_only: IntRectInterop, ) -> Self
pub fn get_scene_index(&self) -> i32
pub fn get_bounding_box(&self) -> IntRectInterop
pub fn get_bounding_box_layer0_only(&self) -> IntRectInterop
pub fn set_scene_index(&mut self, scene_index: i32)
pub fn set_bounding_box(&mut self, bounding_box: IntRectInterop)
pub fn set_bounding_box_layer0_only( &mut self, bounding_box_layer0_only: IntRectInterop, )
Trait Implementations§
Source§impl Clone for BoundingBoxes
impl Clone for BoundingBoxes
Source§fn clone(&self) -> BoundingBoxes
fn clone(&self) -> BoundingBoxes
Returns a duplicate 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 Freeze for BoundingBoxes
impl RefUnwindSafe for BoundingBoxes
impl Send for BoundingBoxes
impl Sync for BoundingBoxes
impl Unpin for BoundingBoxes
impl UnsafeUnpin for BoundingBoxes
impl UnwindSafe for BoundingBoxes
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