pub struct UnicodeWordBoundaryError(/* private fields */);
Expand description
An error that occurs when the Unicode-aware \w
class is unavailable.
This error can occur when the data tables necessary for the Unicode aware
Perl character class \w
are unavailable. The \w
class is used to
determine whether a codepoint is considered a word character or not when
determining whether a Unicode aware \b
(or \B
) matches at a particular
position.
This error can only occur when the unicode-word-boundary
feature is
disabled.
Implementations§
Source§impl UnicodeWordBoundaryError
impl UnicodeWordBoundaryError
Sourcepub fn check() -> Result<(), UnicodeWordBoundaryError>
pub fn check() -> Result<(), UnicodeWordBoundaryError>
Returns an error if and only if Unicode word boundary data is unavailable.
Trait Implementations§
Source§impl Clone for UnicodeWordBoundaryError
impl Clone for UnicodeWordBoundaryError
Source§fn clone(&self) -> UnicodeWordBoundaryError
fn clone(&self) -> UnicodeWordBoundaryError
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for UnicodeWordBoundaryError
impl Debug for UnicodeWordBoundaryError
Source§impl Display for UnicodeWordBoundaryError
impl Display for UnicodeWordBoundaryError
Source§impl Error for UnicodeWordBoundaryError
Available on crate feature std
only.
impl Error for UnicodeWordBoundaryError
std
only.1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
Auto Trait Implementations§
impl Freeze for UnicodeWordBoundaryError
impl RefUnwindSafe for UnicodeWordBoundaryError
impl Send for UnicodeWordBoundaryError
impl Sync for UnicodeWordBoundaryError
impl Unpin for UnicodeWordBoundaryError
impl UnwindSafe for UnicodeWordBoundaryError
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 0 bytes