pub struct SourceInput {
pub path: String,
pub bytes: Vec<u8>,
pub content_hash: Option<String>,
}Fields§
§path: String§bytes: Vec<u8>§content_hash: Option<String>Trait Implementations§
Source§impl Clone for SourceInput
impl Clone for SourceInput
Source§fn clone(&self) -> SourceInput
fn clone(&self) -> SourceInput
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for SourceInput
impl RefUnwindSafe for SourceInput
impl Send for SourceInput
impl Sync for SourceInput
impl Unpin for SourceInput
impl UnsafeUnpin for SourceInput
impl UnwindSafe for SourceInput
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