pub struct ExternalAccessories {
pub supported_external_accessory_protocols: Option<Vec<String>>,
}Expand description
External Accessories
Fields§
§supported_external_accessory_protocols: Option<Vec<String>>The protocols that the app uses to communicate with external accessory hardware.
Add this key to your app’s Info.plist file, and set the value to the names of the hardware protocols your app supports. You format protocol names as reverse-DNS strings. For example, the string “com.apple.myProtocol” might represent a custom protocol that Apple defines. Manufacturers can define custom protocols for their accessories or work with other manufacturers and organizations to define standard protocols for different accessory types.
§Availability
- iOS 3.0+
§Framework
- UIKit
Trait Implementations§
Source§impl Clone for ExternalAccessories
impl Clone for ExternalAccessories
Source§fn clone(&self) -> ExternalAccessories
fn clone(&self) -> ExternalAccessories
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 ExternalAccessories
impl Debug for ExternalAccessories
Source§impl Default for ExternalAccessories
impl Default for ExternalAccessories
Source§fn default() -> ExternalAccessories
fn default() -> ExternalAccessories
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ExternalAccessories
impl<'de> Deserialize<'de> for ExternalAccessories
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for ExternalAccessories
impl PartialEq for ExternalAccessories
Source§impl Serialize for ExternalAccessories
impl Serialize for ExternalAccessories
impl Eq for ExternalAccessories
impl StructuralPartialEq for ExternalAccessories
Auto Trait Implementations§
impl Freeze for ExternalAccessories
impl RefUnwindSafe for ExternalAccessories
impl Send for ExternalAccessories
impl Sync for ExternalAccessories
impl Unpin for ExternalAccessories
impl UnwindSafe for ExternalAccessories
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.