pub struct BundlePrimaryIcon {
pub bundle_icon_files: Vec<String>,
pub bundle_symbol_name: Option<String>,
pub prerendered_icon: bool,
}Expand description
Bundle Primary Icon
Fields§
§bundle_icon_files: Vec<String>The names of a bundle’s icon files.
§Availability
- iOS 3.2+
- tvOS 9.0+
- watchOS 2.0+
§Framework
- Core Foundation
bundle_symbol_name: Option<String>The name of a symbol from SF Symbols.
Action extensions use template images for their icons. To use a symbol from SF Symbols as the icon, set the value of CFBundleSymbolName to the symbol’s name.
§Availability
- iOS 13.0+
§Framework
- Core Foundation
prerendered_icon: boolA Boolean value indicating whether the icon files already incorporate a shine effect.
§Availability
- iOS 2.0+
- tvOS 9.0+
- watchOS 2.0+
§Framework
- UIKit
Trait Implementations§
Source§impl Clone for BundlePrimaryIcon
impl Clone for BundlePrimaryIcon
Source§fn clone(&self) -> BundlePrimaryIcon
fn clone(&self) -> BundlePrimaryIcon
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 BundlePrimaryIcon
impl Debug for BundlePrimaryIcon
Source§impl Default for BundlePrimaryIcon
impl Default for BundlePrimaryIcon
Source§fn default() -> BundlePrimaryIcon
fn default() -> BundlePrimaryIcon
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for BundlePrimaryIcon
impl<'de> Deserialize<'de> for BundlePrimaryIcon
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 BundlePrimaryIcon
impl PartialEq for BundlePrimaryIcon
Source§impl Serialize for BundlePrimaryIcon
impl Serialize for BundlePrimaryIcon
impl Eq for BundlePrimaryIcon
impl StructuralPartialEq for BundlePrimaryIcon
Auto Trait Implementations§
impl Freeze for BundlePrimaryIcon
impl RefUnwindSafe for BundlePrimaryIcon
impl Send for BundlePrimaryIcon
impl Sync for BundlePrimaryIcon
impl Unpin for BundlePrimaryIcon
impl UnwindSafe for BundlePrimaryIcon
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.