#[repr(transparent)]pub struct PKContentVersion(pub NSInteger);Available on crate feature
PKContentVersion only.Expand description
A version specifying which PencilKit features are used/allowed.
See also Apple’s documentation
Tuple Fields§
§0: NSIntegerImplementations§
Source§impl PKContentVersion
impl PKContentVersion
Sourcepub const Version1: Self
pub const Version1: Self
Version for inks introduced in iOS 14.0.
Inks included are Pen, Pencil, and Marker.
Sourcepub const Version2: Self
pub const Version2: Self
Version for inks introduced in iOS 17.0.
Inks included are Pen, Pencil, Marker, Monoline, Fountain Pen, Watercolor, and Crayon.
Sourcepub const VersionLatest: Self
pub const VersionLatest: Self
The latest version including all features.
Trait Implementations§
Source§impl Clone for PKContentVersion
impl Clone for PKContentVersion
Source§fn clone(&self) -> PKContentVersion
fn clone(&self) -> PKContentVersion
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 PKContentVersion
impl Debug for PKContentVersion
Source§impl Encode for PKContentVersion
impl Encode for PKContentVersion
Source§impl Hash for PKContentVersion
impl Hash for PKContentVersion
Source§impl Ord for PKContentVersion
impl Ord for PKContentVersion
Source§fn cmp(&self, other: &PKContentVersion) -> Ordering
fn cmp(&self, other: &PKContentVersion) -> 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 PKContentVersion
impl PartialEq for PKContentVersion
Source§impl PartialOrd for PKContentVersion
impl PartialOrd for PKContentVersion
Source§impl RefEncode for PKContentVersion
impl RefEncode for PKContentVersion
Source§const ENCODING_REF: Encoding
const ENCODING_REF: Encoding
The Objective-C type-encoding for a reference of this type. Read more
impl Copy for PKContentVersion
impl Eq for PKContentVersion
impl StructuralPartialEq for PKContentVersion
Auto Trait Implementations§
impl Freeze for PKContentVersion
impl RefUnwindSafe for PKContentVersion
impl Send for PKContentVersion
impl Sync for PKContentVersion
impl Unpin for PKContentVersion
impl UnwindSafe for PKContentVersion
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> EncodeArgument for Twhere
T: Encode,
impl<T> EncodeArgument for Twhere
T: Encode,
Source§const ENCODING_ARGUMENT: Encoding = T::ENCODING
const ENCODING_ARGUMENT: Encoding = T::ENCODING
The Objective-C type-encoding for this type.
Source§impl<T> EncodeReturn for Twhere
T: Encode,
impl<T> EncodeReturn for Twhere
T: Encode,
Source§const ENCODING_RETURN: Encoding = T::ENCODING
const ENCODING_RETURN: Encoding = T::ENCODING
The Objective-C type-encoding for this type.