Enum Availability
pub enum Availability {
Required,
Optional,
SameAsTarget,
Transitional,
}
Expand description
Capability availability. See Availability
.
Variants§
Trait Implementations§
§impl Clone for Availability
impl Clone for Availability
§fn clone(&self) -> Availability
fn clone(&self) -> Availability
Returns a copy 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 Availability
impl Debug for Availability
§impl Default for Availability
impl Default for Availability
§fn default() -> Availability
fn default() -> Availability
Returns the “default value” for a type. Read more
§impl<'de> Deserialize<'de> for Availability
impl<'de> Deserialize<'de> for Availability
§fn deserialize<__D>(
__deserializer: __D,
) -> Result<Availability, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<Availability, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
§impl Display for Availability
impl Display for Availability
Source§impl FidlIntoNative<Availability> for Availability
impl FidlIntoNative<Availability> for Availability
fn fidl_into_native(self) -> Availability
§impl From<Availability> for Availability
impl From<Availability> for Availability
§fn from(input: Availability) -> Availability
fn from(input: Availability) -> Availability
Converts to this type from the input type.
§impl Hash for Availability
impl Hash for Availability
Source§impl NativeIntoFidl<Availability> for Availability
impl NativeIntoFidl<Availability> for Availability
fn native_into_fidl(self) -> Availability
§impl PartialEq for Availability
impl PartialEq for Availability
§impl PartialOrd for Availability
impl PartialOrd for Availability
§impl Serialize for Availability
impl Serialize for Availability
§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl Copy for Availability
impl Eq for Availability
impl StructuralPartialEq for Availability
Auto Trait Implementations§
impl Freeze for Availability
impl RefUnwindSafe for Availability
impl Send for Availability
impl Sync for Availability
impl Unpin for Availability
impl UnwindSafe for Availability
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)