pub struct InValidatedGString<V: Validator, const MIN: usize, const MAX: usize, const ASCII_ONLY: bool>(/* private fields */);Expand description
GString from const generic constructor.
It must be validated before getting actual GString.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<V, const MIN: usize, const MAX: usize, const ASCII_ONLY: bool> Freeze for InValidatedGString<V, MIN, MAX, ASCII_ONLY>
impl<V, const MIN: usize, const MAX: usize, const ASCII_ONLY: bool> RefUnwindSafe for InValidatedGString<V, MIN, MAX, ASCII_ONLY>where
V: RefUnwindSafe,
impl<V, const MIN: usize, const MAX: usize, const ASCII_ONLY: bool> Send for InValidatedGString<V, MIN, MAX, ASCII_ONLY>where
V: Send,
impl<V, const MIN: usize, const MAX: usize, const ASCII_ONLY: bool> Sync for InValidatedGString<V, MIN, MAX, ASCII_ONLY>where
V: Sync,
impl<V, const MIN: usize, const MAX: usize, const ASCII_ONLY: bool> Unpin for InValidatedGString<V, MIN, MAX, ASCII_ONLY>where
V: Unpin,
impl<V, const MIN: usize, const MAX: usize, const ASCII_ONLY: bool> UnsafeUnpin for InValidatedGString<V, MIN, MAX, ASCII_ONLY>
impl<V, const MIN: usize, const MAX: usize, const ASCII_ONLY: bool> UnwindSafe for InValidatedGString<V, MIN, MAX, ASCII_ONLY>where
V: UnwindSafe,
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