Struct BoxOptions
pub struct BoxOptions {
pub transform: Transform,
pub width: f64,
pub height: f64,
pub depth: f64,
pub width_segments: i64,
pub height_segments: i64,
pub depth_segments: i64,
pub material: Option<String>,
pub identifier: Option<String>,
}Expand description
Options for adding a box object.
Fields§
§transform: TransformThe common transform parameters.
width: f64The width of the box.
height: f64The height of the box.
depth: f64The depth of the box.
width_segments: i64The number of width segments.
height_segments: i64The number of height segments.
depth_segments: i64The number of depth segments.
material: Option<String>The identifier of the material to apply.
identifier: Option<String>The explicit identifier; assigned by the server when None.
Trait Implementations§
§impl Clone for BoxOptions
impl Clone for BoxOptions
§fn clone(&self) -> BoxOptions
fn clone(&self) -> BoxOptions
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 more§impl Debug for BoxOptions
impl Debug for BoxOptions
Auto Trait Implementations§
impl Freeze for BoxOptions
impl RefUnwindSafe for BoxOptions
impl Send for BoxOptions
impl Sync for BoxOptions
impl Unpin for BoxOptions
impl UnwindSafe for BoxOptions
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