Struct rclrust_msg::visualization_msgs::msg::Marker
source · [−]pub struct Marker {Show 19 fields
pub header: Header,
pub ns: String,
pub id: i32,
pub type_: i32,
pub action: i32,
pub pose: Pose,
pub scale: Vector3,
pub color: ColorRGBA,
pub lifetime: Duration,
pub frame_locked: bool,
pub points: Vec<Point>,
pub colors: Vec<ColorRGBA>,
pub texture_resource: String,
pub texture: CompressedImage,
pub uv_coordinates: Vec<UVCoordinate>,
pub text: String,
pub mesh_resource: String,
pub mesh_file: MeshFile,
pub mesh_use_embedded_materials: bool,
}
Fields
header: Header
ns: String
id: i32
type_: i32
action: i32
pose: Pose
scale: Vector3
color: ColorRGBA
lifetime: Duration
frame_locked: bool
points: Vec<Point>
colors: Vec<ColorRGBA>
texture_resource: String
texture: CompressedImage
uv_coordinates: Vec<UVCoordinate>
text: String
mesh_resource: String
mesh_file: MeshFile
mesh_use_embedded_materials: bool
Implementations
sourceimpl Marker
impl Marker
pub const ARROW: i32 = 0i32
pub const CUBE: i32 = 1i32
pub const SPHERE: i32 = 2i32
pub const CYLINDER: i32 = 3i32
pub const LINE_STRIP: i32 = 4i32
pub const LINE_LIST: i32 = 5i32
pub const CUBE_LIST: i32 = 6i32
pub const SPHERE_LIST: i32 = 7i32
pub const POINTS: i32 = 8i32
pub const TEXT_VIEW_FACING: i32 = 9i32
pub const MESH_RESOURCE: i32 = 10i32
pub const TRIANGLE_LIST: i32 = 11i32
pub const ADD: i32 = 0i32
pub const MODIFY: i32 = 0i32
pub const DELETE: i32 = 2i32
pub const DELETEALL: i32 = 3i32
Trait Implementations
sourceimpl InternalDefault for Marker
impl InternalDefault for Marker
sourceimpl MessageT for Marker
impl MessageT for Marker
type Raw = Marker_Raw
type RawRef = Marker_RawRef
fn type_support() -> *const c_void
unsafe fn from_raw(from: &Self::Raw) -> Self
unsafe fn to_raw_ref(&self) -> Self::RawRef
impl StructuralPartialEq for Marker
Auto Trait Implementations
impl RefUnwindSafe for Marker
impl Send for Marker
impl Sync for Marker
impl Unpin for Marker
impl UnwindSafe for Marker
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more