pub struct DISABLED_RULE { /* private fields */ }
Methods from Deref<Target = ExposableString>§
pub fn as_str(&self) -> &str
pub fn clone_inner(&self) -> Arc<String>
Sourcepub fn unperformant_to_string(&self) -> String
pub fn unperformant_to_string(&self) -> String
Clones the value out of the Arc. This is not performant.
Please only use this if we are giving a value to a caller outside of this library.
Consider using the as_str
or clone_inner
methods instead.
Trait Implementations§
Source§impl Deref for DISABLED_RULE
impl Deref for DISABLED_RULE
Source§type Target = ExposableString
type Target = ExposableString
The resulting type after dereferencing.
Source§fn deref(&self) -> &ExposableString
fn deref(&self) -> &ExposableString
Dereferences the value.
impl LazyStatic for DISABLED_RULE
Auto Trait Implementations§
impl Freeze for DISABLED_RULE
impl RefUnwindSafe for DISABLED_RULE
impl Send for DISABLED_RULE
impl Sync for DISABLED_RULE
impl Unpin for DISABLED_RULE
impl UnwindSafe for DISABLED_RULE
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