#[repr(C)]pub struct InputContext<'a> {
pub file_name: &'a str,
pub input: &'a str,
}
Fields§
§file_name: &'a str
§input: &'a str
Trait Implementations§
Source§impl<'a> Clone for InputContext<'a>
impl<'a> Clone for InputContext<'a>
Source§fn clone(&self) -> InputContext<'a>
fn clone(&self) -> InputContext<'a>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreimpl<'a> Copy for InputContext<'a>
Auto Trait Implementations§
impl<'a> Freeze for InputContext<'a>
impl<'a> RefUnwindSafe for InputContext<'a>
impl<'a> Send for InputContext<'a>
impl<'a> Sync for InputContext<'a>
impl<'a> Unpin for InputContext<'a>
impl<'a> UnwindSafe for InputContext<'a>
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