Struct spirt::DataInstFormDef
source · pub struct DataInstFormDef {
pub kind: DataInstKind,
pub output_type: Option<Type>,
}
Expand description
“Form” (or “template”) definition for DataInstFormDef
s, which includes
most of their common static information (notably excluding attrs
, as
they vary more often due to handling diagnostics, debuginfo, refinement etc.).
Fields§
§kind: DataInstKind
§output_type: Option<Type>
Trait Implementations§
source§impl AsRef<DataInstFormDef> for DataInstFormDef
impl AsRef<DataInstFormDef> for DataInstFormDef
source§impl Clone for DataInstFormDef
impl Clone for DataInstFormDef
source§fn clone(&self) -> DataInstFormDef
fn clone(&self) -> DataInstFormDef
Returns a copy 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 moresource§impl Hash for DataInstFormDef
impl Hash for DataInstFormDef
source§impl InnerTransform for DataInstFormDef
impl InnerTransform for DataInstFormDef
fn inner_transform_with( &self, transformer: &mut impl Transformer ) -> Transformed<Self>
source§impl InnerVisit for DataInstFormDef
impl InnerVisit for DataInstFormDef
fn inner_visit_with<'a>(&'a self, visitor: &mut impl Visitor<'a>)
source§impl PartialEq<DataInstFormDef> for DataInstFormDef
impl PartialEq<DataInstFormDef> for DataInstFormDef
source§fn eq(&self, other: &DataInstFormDef) -> bool
fn eq(&self, other: &DataInstFormDef) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for DataInstFormDef
impl StructuralEq for DataInstFormDef
impl StructuralPartialEq for DataInstFormDef
Auto Trait Implementations§
impl RefUnwindSafe for DataInstFormDef
impl Send for DataInstFormDef
impl Sync for DataInstFormDef
impl Unpin for DataInstFormDef
impl UnwindSafe for DataInstFormDef
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<'a, T, V> DynInnerVisit<'a, V> for Twhere
T: InnerVisit,
V: Visitor<'a>,
impl<'a, T, V> DynInnerVisit<'a, V> for Twhere T: InnerVisit, V: Visitor<'a>,
fn dyn_inner_visit_with(&'a self, visitor: &mut V)
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.