Struct LineOptions
pub struct LineOptions {
pub transform: Transform,
pub material: Option<String>,
pub segments: bool,
pub identifier: Option<String>,
}Expand description
Options for adding a line object.
Fields§
§transform: TransformThe common transform parameters.
material: Option<String>The identifier of the material to apply.
segments: boolWhether to create separate line segments.
identifier: Option<String>The explicit identifier; assigned by the server when None.
Trait Implementations§
§impl Clone for LineOptions
impl Clone for LineOptions
§fn clone(&self) -> LineOptions
fn clone(&self) -> LineOptions
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 LineOptions
impl Debug for LineOptions
§impl Default for LineOptions
impl Default for LineOptions
§fn default() -> LineOptions
fn default() -> LineOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for LineOptions
impl RefUnwindSafe for LineOptions
impl Send for LineOptions
impl Sync for LineOptions
impl Unpin for LineOptions
impl UnwindSafe for LineOptions
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