Enum AiModalitySupport
pub enum AiModalitySupport {
None,
Input,
Output,
InputOutput,
Unknown,
}Variants§
Implementations§
§impl AiModalitySupport
impl AiModalitySupport
pub const ALL: &'static [AiModalitySupport]
pub const fn as_str(self) -> &'static str
Trait Implementations§
§impl Clone for AiModalitySupport
impl Clone for AiModalitySupport
§fn clone(&self) -> AiModalitySupport
fn clone(&self) -> AiModalitySupport
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 more§impl Debug for AiModalitySupport
impl Debug for AiModalitySupport
§impl Display for AiModalitySupport
impl Display for AiModalitySupport
§impl FromStr for AiModalitySupport
impl FromStr for AiModalitySupport
§type Err = AiCapabilityError
type Err = AiCapabilityError
The associated error which can be returned from parsing.
§fn from_str(
value: &str,
) -> Result<AiModalitySupport, <AiModalitySupport as FromStr>::Err>
fn from_str( value: &str, ) -> Result<AiModalitySupport, <AiModalitySupport as FromStr>::Err>
Parses a string
s to return a value of this type. Read more§impl Hash for AiModalitySupport
impl Hash for AiModalitySupport
§impl Ord for AiModalitySupport
impl Ord for AiModalitySupport
§fn cmp(&self, other: &AiModalitySupport) -> Ordering
fn cmp(&self, other: &AiModalitySupport) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
§impl PartialEq for AiModalitySupport
impl PartialEq for AiModalitySupport
§impl PartialOrd for AiModalitySupport
impl PartialOrd for AiModalitySupport
impl Copy for AiModalitySupport
impl Eq for AiModalitySupport
impl StructuralPartialEq for AiModalitySupport
Auto Trait Implementations§
impl Freeze for AiModalitySupport
impl RefUnwindSafe for AiModalitySupport
impl Send for AiModalitySupport
impl Sync for AiModalitySupport
impl Unpin for AiModalitySupport
impl UnsafeUnpin for AiModalitySupport
impl UnwindSafe for AiModalitySupport
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