Enum AnyObject
pub enum AnyObject {
Box(Box),
Sphere(Sphere),
Cylinder(Cylinder),
Line(Line),
Model(Model),
Axes(Axes),
Text(TextPanel),
PointCloud(PointCloud),
Camera(Camera),
}Expand description
A typed object as returned by Visu::get_objects.
Variants§
Box(Box)
A box object.
Sphere(Sphere)
A sphere object.
Cylinder(Cylinder)
A cylinder object.
Line(Line)
A line object.
Model(Model)
A model object.
Axes(Axes)
An axes helper object.
Text(TextPanel)
A text panel object.
PointCloud(PointCloud)
A point cloud object.
Camera(Camera)
A camera object.
Implementations§
§impl AnyObject
impl AnyObject
pub fn object_type(&self) -> ObjectType
pub fn object_type(&self) -> ObjectType
Returns the object type of the wrapped write-access helper.
Trait Implementations§
§impl TryFrom<AnyObject> for PointCloud
impl TryFrom<AnyObject> for PointCloud
Auto Trait Implementations§
impl Freeze for AnyObject
impl RefUnwindSafe for AnyObject
impl Send for AnyObject
impl Sync for AnyObject
impl Unpin for AnyObject
impl UnwindSafe for AnyObject
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