pub struct CharSet { /* private fields */ }
Expand description
Represents an ordered set of code points.
TODO(kpozin): Add factory method that takes lazy Iterator<Item = char>
instead of Vec
.
TODO(kpozin): Enforce char
values.
Implementations§
Trait Implementations§
Source§impl From<&CharCollection> for CharSet
impl From<&CharCollection> for CharSet
Source§fn from(value: &CharCollection) -> CharSet
fn from(value: &CharCollection) -> CharSet
Converts to this type from the input type.
Source§impl From<CharCollection> for CharSet
impl From<CharCollection> for CharSet
Source§fn from(value: CharCollection) -> CharSet
fn from(value: CharCollection) -> CharSet
Converts to this type from the input type.
Source§impl Into<CharCollection> for &CharSet
impl Into<CharCollection> for &CharSet
Source§fn into(self) -> CharCollection
fn into(self) -> CharCollection
Converts this type into the (usually inferred) input type.
impl Eq for CharSet
impl StructuralPartialEq for CharSet
Auto Trait Implementations§
impl Freeze for CharSet
impl RefUnwindSafe for CharSet
impl Send for CharSet
impl Sync for CharSet
impl Unpin for CharSet
impl UnwindSafe for CharSet
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