pub struct InteractiveMarkerControl {
pub name: String,
pub orientation: Quaternion,
pub orientation_mode: u8,
pub interaction_mode: u8,
pub always_visible: bool,
pub markers: Vec<Marker>,
pub independent_marker_orientation: bool,
pub description: String,
}
Fields
name: String
orientation: Quaternion
orientation_mode: u8
interaction_mode: u8
always_visible: bool
markers: Vec<Marker>
independent_marker_orientation: bool
description: String
Implementations
sourceimpl InteractiveMarkerControl
impl InteractiveMarkerControl
pub const INHERIT: u8 = 0u8
pub const FIXED: u8 = 1u8
pub const VIEW_FACING: u8 = 2u8
pub const NONE: u8 = 0u8
pub const MENU: u8 = 1u8
pub const BUTTON: u8 = 2u8
pub const MOVE_AXIS: u8 = 3u8
pub const MOVE_PLANE: u8 = 4u8
pub const ROTATE_AXIS: u8 = 5u8
pub const MOVE_ROTATE: u8 = 6u8
pub const MOVE_3D: u8 = 7u8
pub const ROTATE_3D: u8 = 8u8
pub const MOVE_ROTATE_3D: u8 = 9u8
Trait Implementations
sourceimpl Clone for InteractiveMarkerControl
impl Clone for InteractiveMarkerControl
sourcefn clone(&self) -> InteractiveMarkerControl
fn clone(&self) -> InteractiveMarkerControl
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for InteractiveMarkerControl
impl Debug for InteractiveMarkerControl
sourceimpl Default for InteractiveMarkerControl
impl Default for InteractiveMarkerControl
sourceimpl MessageT for InteractiveMarkerControl
impl MessageT for InteractiveMarkerControl
type Raw = InteractiveMarkerControl_Raw
type RawRef = InteractiveMarkerControl_RawRef
fn type_support() -> *const c_void
unsafe fn from_raw(from: &Self::Raw) -> Self
unsafe fn to_raw_ref(&self) -> Self::RawRef
sourceimpl PartialEq<InteractiveMarkerControl> for InteractiveMarkerControl
impl PartialEq<InteractiveMarkerControl> for InteractiveMarkerControl
sourcefn eq(&self, other: &InteractiveMarkerControl) -> bool
fn eq(&self, other: &InteractiveMarkerControl) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &InteractiveMarkerControl) -> bool
fn ne(&self, other: &InteractiveMarkerControl) -> bool
This method tests for !=
.
impl StructuralPartialEq for InteractiveMarkerControl
Auto Trait Implementations
impl RefUnwindSafe for InteractiveMarkerControl
impl Send for InteractiveMarkerControl
impl Sync for InteractiveMarkerControl
impl Unpin for InteractiveMarkerControl
impl UnwindSafe for InteractiveMarkerControl
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