pub struct TransformInput {
pub chunk_id: String,
pub data: Option<Vec<u8>>,
pub role: String,
pub path: Option<String>,
}Expand description
Input to a transformation
Fields§
§chunk_id: StringChunk ID of the input
data: Option<Vec<u8>>Data (if loaded)
role: StringRole of this input (e.g., “main”, “dependency”)
path: Option<String>Local path if available
Trait Implementations§
Source§impl Clone for TransformInput
impl Clone for TransformInput
Source§fn clone(&self) -> TransformInput
fn clone(&self) -> TransformInput
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 moreAuto Trait Implementations§
impl Freeze for TransformInput
impl RefUnwindSafe for TransformInput
impl Send for TransformInput
impl Sync for TransformInput
impl Unpin for TransformInput
impl UnwindSafe for TransformInput
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