#[repr(u8)]pub enum TeachStatus {
Closed = 0,
StartRecord = 1,
EndRecord = 2,
Execute = 3,
Pause = 4,
Continue = 5,
Terminate = 6,
MoveToStart = 7,
}Expand description
示教状态
Variants§
Closed = 0
关闭
StartRecord = 1
开始示教记录(进入拖动示教模式)
EndRecord = 2
结束示教记录(退出拖动示教模式)
Execute = 3
执行示教轨迹(拖动示教轨迹复现)
Pause = 4
暂停执行
Continue = 5
继续执行(轨迹复现继续)
Terminate = 6
终止执行
MoveToStart = 7
运动到轨迹起点
Trait Implementations§
Source§impl Clone for TeachStatus
impl Clone for TeachStatus
Source§fn clone(&self) -> TeachStatus
fn clone(&self) -> TeachStatus
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 moreSource§impl Debug for TeachStatus
impl Debug for TeachStatus
Source§impl Default for TeachStatus
impl Default for TeachStatus
Source§fn default() -> TeachStatus
fn default() -> TeachStatus
Returns the “default value” for a type. Read more
Source§impl From<u8> for TeachStatus
impl From<u8> for TeachStatus
Source§fn from(number: u8) -> TeachStatus
fn from(number: u8) -> TeachStatus
Converts to this type from the input type.
Source§impl FromPrimitive for TeachStatus
impl FromPrimitive for TeachStatus
type Primitive = u8
fn from_primitive( number: <TeachStatus as FromPrimitive>::Primitive, ) -> TeachStatus
Source§impl PartialEq for TeachStatus
impl PartialEq for TeachStatus
impl Copy for TeachStatus
impl Eq for TeachStatus
impl StructuralPartialEq for TeachStatus
Auto Trait Implementations§
impl Freeze for TeachStatus
impl RefUnwindSafe for TeachStatus
impl Send for TeachStatus
impl Sync for TeachStatus
impl Unpin for TeachStatus
impl UnwindSafe for TeachStatus
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more