pub struct SelectDown;Trait Implementations§
Source§impl Action for SelectDown
impl Action for SelectDown
Source§fn name_for_type() -> &'static strwhere
Self: Sized,
fn name_for_type() -> &'static strwhere
Self: Sized,
获取此 Action 类型的名称(静态方法)
Source§fn partial_eq(&self, action: &dyn Action) -> bool
fn partial_eq(&self, action: &dyn Action) -> bool
对此 Action 和另一个 Action 进行部分相等性比较
Source§fn boxed_clone(&self) -> Box<dyn Action>
fn boxed_clone(&self) -> Box<dyn Action>
将 Action 克隆到一个新的 Box 中(类型擦除的克隆)
Source§fn build(_value: Value) -> Result<Box<dyn Action>>
fn build(_value: Value) -> Result<Box<dyn Action>>
从 JSON 值构建此 Action。用于从快捷键映射中构造 Action。
没有参数的 Action 会传入
{}。Source§fn action_json_schema(_generator: &mut SchemaGenerator) -> Option<Schema>
fn action_json_schema(_generator: &mut SchemaGenerator) -> Option<Schema>
Action 输入数据的可选 JSON Schema
Source§fn deprecated_aliases() -> &'static [&'static str]
fn deprecated_aliases() -> &'static [&'static str]
此 Action 的已弃用别名列表。这些旧名称仍可用于调用此 Action。
Source§fn deprecation_message() -> Option<&'static str>
fn deprecation_message() -> Option<&'static str>
返回此 Action 的弃用消息(如果有)
Source§fn documentation() -> Option<&'static str>
fn documentation() -> Option<&'static str>
此 Action 的文档(如果有)。使用 derive 宏时会自动生成。
Source§impl Clone for SelectDown
impl Clone for SelectDown
Source§fn clone(&self) -> SelectDown
fn clone(&self) -> SelectDown
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SelectDown
impl Debug for SelectDown
Source§impl Default for SelectDown
impl Default for SelectDown
Source§fn default() -> SelectDown
fn default() -> SelectDown
Returns the “default value” for a type. Read more
Source§impl PartialEq for SelectDown
impl PartialEq for SelectDown
Source§fn eq(&self, other: &SelectDown) -> bool
fn eq(&self, other: &SelectDown) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SelectDown
Auto Trait Implementations§
impl Freeze for SelectDown
impl RefUnwindSafe for SelectDown
impl Send for SelectDown
impl Sync for SelectDown
impl Unpin for SelectDown
impl UnsafeUnpin for SelectDown
impl UnwindSafe for SelectDown
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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 moreSource§impl<T> Pointable for T
impl<T> Pointable for T
impl<T> Read<Exclusive, BecauseExclusive> for Twhere
T: ?Sized,
Source§impl<R, P> ReadPrimitive<R> for P
impl<R, P> ReadPrimitive<R> for P
Source§fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
Read this value from the supplied reader. Same as
ReadEndian::read_from_little_endian().