pub struct RewriteCandidateV0 { /* private fields */ }Implementations§
Source§impl RewriteCandidateV0
impl RewriteCandidateV0
pub fn from_sources( pass_kind: TransformPassKind, input_source: &str, output_source: &str, dialect: StyleDialect, semantic_signature: impl Into<String>, ) -> Self
pub fn pass_spec(&self) -> &TransformPassSpecV0
pub fn output_stable_ir(&self) -> &StableTransformIrV0
Trait Implementations§
Source§impl Clone for RewriteCandidateV0
impl Clone for RewriteCandidateV0
Source§fn clone(&self) -> RewriteCandidateV0
fn clone(&self) -> RewriteCandidateV0
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 RewriteCandidateV0
impl Debug for RewriteCandidateV0
impl Eq for RewriteCandidateV0
Source§impl PartialEq for RewriteCandidateV0
impl PartialEq for RewriteCandidateV0
Source§impl Serialize for RewriteCandidateV0
impl Serialize for RewriteCandidateV0
impl StructuralPartialEq for RewriteCandidateV0
Auto Trait Implementations§
impl Freeze for RewriteCandidateV0
impl RefUnwindSafe for RewriteCandidateV0
impl Send for RewriteCandidateV0
impl Sync for RewriteCandidateV0
impl Unpin for RewriteCandidateV0
impl UnsafeUnpin for RewriteCandidateV0
impl UnwindSafe for RewriteCandidateV0
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.