pub struct Polyline {
pub points: Vec<[f32; 3]>,
pub color: Rgb,
pub width: f32,
pub dashed: bool,
pub closed: bool,
}Expand description
A line through world points, drawn a constant width pixels wide over
the scene.
Fields§
§points: Vec<[f32; 3]>§color: Rgb§width: f32§dashed: bool§closed: boolTrait Implementations§
Source§impl<'de> Deserialize<'de> for Polyline
impl<'de> Deserialize<'de> for Polyline
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for Polyline
Auto Trait Implementations§
impl Forget for Polyline
impl Freeze for Polyline
impl Move for Polyline
impl RefUnwindSafe for Polyline
impl Send for Polyline
impl Sync for Polyline
impl Unpin for Polyline
impl UnsafeUnpin for Polyline
impl UnwindSafe for Polyline
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