pub struct Source<'str> {
pub input: &'str str,
}Expand description
Source code container with input validation.
Fields§
§input: &'str strImplementations§
Trait Implementations§
Auto Trait Implementations§
impl<'str> Freeze for Source<'str>
impl<'str> RefUnwindSafe for Source<'str>
impl<'str> Send for Source<'str>
impl<'str> Sync for Source<'str>
impl<'str> Unpin for Source<'str>
impl<'str> UnwindSafe for Source<'str>
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