pub enum CharacterSetKind {
Alphanumerics,
Letters,
Decimals,
Whitespaces,
}Expand description
A Foundation CharacterSet, by the static that names it.
Whitespaces and Decimals are the ones the parity suite compares.
.alphanumerics is bound and correct, but it cannot be compared across
processes: which concrete class backs it — a bitmap NSCharacterSet or
a CF-bridged __NSCFCharacterSet — depends on what else in the process
has touched Foundation, and dump prints the two differently. That is a
property of Foundation’s caching, not of the call.
Variants§
Trait Implementations§
Source§impl Clone for CharacterSetKind
impl Clone for CharacterSetKind
impl Copy for CharacterSetKind
Source§impl Debug for CharacterSetKind
impl Debug for CharacterSetKind
impl Eq for CharacterSetKind
Source§impl From<Alphanumerics> for CharacterSetKind
impl From<Alphanumerics> for CharacterSetKind
Source§fn from(_: Alphanumerics) -> Self
fn from(_: Alphanumerics) -> Self
Converts to this type from the input type.
Source§impl From<Decimals> for CharacterSetKind
impl From<Decimals> for CharacterSetKind
Source§impl From<Letters> for CharacterSetKind
impl From<Letters> for CharacterSetKind
Source§impl From<Whitespaces> for CharacterSetKind
impl From<Whitespaces> for CharacterSetKind
Source§fn from(_: Whitespaces) -> Self
fn from(_: Whitespaces) -> Self
Converts to this type from the input type.
Source§impl PartialEq for CharacterSetKind
impl PartialEq for CharacterSetKind
impl StructuralPartialEq for CharacterSetKind
Auto Trait Implementations§
impl Freeze for CharacterSetKind
impl RefUnwindSafe for CharacterSetKind
impl Send for CharacterSetKind
impl Sync for CharacterSetKind
impl Unpin for CharacterSetKind
impl UnsafeUnpin for CharacterSetKind
impl UnwindSafe for CharacterSetKind
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