pub struct TransformPassSpecV0 {
pub schema_version: &'static str,
pub product: &'static str,
pub pass_id: &'static str,
pub pass_kind: TransformPassKind,
pub cascade_obligation: &'static str,
pub cascade_safety_witness: CascadeSafetyWitnessV0,
}Fields§
§schema_version: &'static str§product: &'static str§pass_id: &'static str§pass_kind: TransformPassKind§cascade_obligation: &'static str§cascade_safety_witness: CascadeSafetyWitnessV0Implementations§
Source§impl TransformPassSpecV0
impl TransformPassSpecV0
pub fn from_pass(pass_kind: TransformPassKind) -> Self
pub fn declares_cascade_obligation(&self) -> bool
Trait Implementations§
Source§impl Clone for TransformPassSpecV0
impl Clone for TransformPassSpecV0
Source§fn clone(&self) -> TransformPassSpecV0
fn clone(&self) -> TransformPassSpecV0
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 moreSource§impl Debug for TransformPassSpecV0
impl Debug for TransformPassSpecV0
impl Eq for TransformPassSpecV0
Source§impl PartialEq for TransformPassSpecV0
impl PartialEq for TransformPassSpecV0
Source§impl Serialize for TransformPassSpecV0
impl Serialize for TransformPassSpecV0
impl StructuralPartialEq for TransformPassSpecV0
Auto Trait Implementations§
impl Freeze for TransformPassSpecV0
impl RefUnwindSafe for TransformPassSpecV0
impl Send for TransformPassSpecV0
impl Sync for TransformPassSpecV0
impl Unpin for TransformPassSpecV0
impl UnsafeUnpin for TransformPassSpecV0
impl UnwindSafe for TransformPassSpecV0
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.