pub struct UnicodeSet { /* private fields */ }
Implementations§
Source§impl UnicodeSet
impl UnicodeSet
pub fn new(set: &str) -> Self
pub fn with_ranges(self, ranges: &[(char, char)]) -> Self
pub fn with_chars<I>(self, chars: I) -> Selfwhere
I: IntoIterator<Item = char>,
pub fn with_max_width(self, max_width: usize) -> Self
pub fn export_rust_code(&self) -> Result<String, Error>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for UnicodeSet
impl RefUnwindSafe for UnicodeSet
impl Send for UnicodeSet
impl Sync for UnicodeSet
impl Unpin for UnicodeSet
impl UnwindSafe for UnicodeSet
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