pub enum Capability {
Show 46 variants
Activity,
AllJoyn,
Appointments,
BackgroundMediaPlayback,
BlockedChatMessages,
Bluetooth,
Chat,
CodeGeneration,
Contacts,
GazeInput,
GlobalMediaControl,
GraphicsCapture,
GraphicsCaptureProgrammatic,
GraphicsCaptureWithoutBorder,
HumanInterfaceDevice,
HumanPresence,
InternetClient,
InternetClientServer,
Location,
LowLevel,
LowLevelDevices,
Microphone,
MusicLibrary,
Objects3D,
Optical,
PhoneCall,
PhoneCallHistoryPublic,
PicturesLibrary,
PointOfService,
PrivateNetworkClientServer,
Proximity,
Radios,
RecordedCallsFolder,
RemoteSystem,
RemovableStorage,
SerialCommunication,
SpatialPerception,
SystemManagement,
Usb,
UserAccountInformation,
UserDataTasks,
UserNotificationListener,
VideosLibrary,
VoipCall,
Webcam,
WiFiControl,
}Variants§
Activity
AllJoyn
Appointments
BackgroundMediaPlayback
BlockedChatMessages
Bluetooth
Chat
CodeGeneration
Contacts
GazeInput
GlobalMediaControl
GraphicsCapture
GraphicsCaptureProgrammatic
GraphicsCaptureWithoutBorder
HumanInterfaceDevice
HumanPresence
InternetClient
InternetClientServer
Location
LowLevel
LowLevelDevices
Microphone
MusicLibrary
Objects3D
Optical
PhoneCall
PhoneCallHistoryPublic
PicturesLibrary
PointOfService
PrivateNetworkClientServer
Proximity
Radios
RecordedCallsFolder
RemoteSystem
RemovableStorage
SerialCommunication
SpatialPerception
SystemManagement
Usb
UserAccountInformation
UserDataTasks
UserNotificationListener
VideosLibrary
VoipCall
Webcam
WiFiControl
Implementations§
Trait Implementations§
Source§impl AsRef<str> for Capability
impl AsRef<str> for Capability
Source§impl Clone for Capability
impl Clone for Capability
Source§fn clone(&self) -> Capability
fn clone(&self) -> Capability
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 Capability
impl Debug for Capability
Source§impl Display for Capability
impl Display for Capability
Source§impl FromStr for Capability
impl FromStr for Capability
Source§impl Hash for Capability
impl Hash for Capability
Source§impl Ord for Capability
impl Ord for Capability
Source§fn cmp(&self, other: &Capability) -> Ordering
fn cmp(&self, other: &Capability) -> 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
Source§impl PartialEq for Capability
impl PartialEq for Capability
Source§impl PartialOrd for Capability
impl PartialOrd for Capability
impl Copy for Capability
impl Eq for Capability
impl StructuralPartialEq for Capability
Auto Trait Implementations§
impl Freeze for Capability
impl RefUnwindSafe for Capability
impl Send for Capability
impl Sync for Capability
impl Unpin for Capability
impl UnwindSafe for Capability
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> 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> ToCompactString for Twhere
T: Display,
impl<T> ToCompactString for Twhere
T: Display,
Source§fn try_to_compact_string(&self) -> Result<CompactString, ToCompactStringError>
fn try_to_compact_string(&self) -> Result<CompactString, ToCompactStringError>
Fallible version of
ToCompactString::to_compact_string() Read moreSource§fn to_compact_string(&self) -> CompactString
fn to_compact_string(&self) -> CompactString
Converts the given value to a
CompactString. Read more