pub struct PassConfig {
pub name: String,
pub pass_type: PassType,
pub inputs: Vec<String>,
pub outputs: Vec<String>,
pub condition: Option<String>,
pub resolution_scale: Option<(f32, f32)>,
pub queue: QueueAffinity,
pub explicit_deps: Vec<String>,
}Expand description
A serializable pass description for config-driven graph rebuilding.
Fields§
§name: String§pass_type: PassType§inputs: Vec<String>§outputs: Vec<String>§condition: Option<String>§resolution_scale: Option<(f32, f32)>§queue: QueueAffinity§explicit_deps: Vec<String>Trait Implementations§
Source§impl Clone for PassConfig
impl Clone for PassConfig
Source§fn clone(&self) -> PassConfig
fn clone(&self) -> PassConfig
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 PassConfig
impl RefUnwindSafe for PassConfig
impl Send for PassConfig
impl Sync for PassConfig
impl Unpin for PassConfig
impl UnsafeUnpin for PassConfig
impl UnwindSafe for PassConfig
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