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 for DataInstFormDef
impl PartialEq for DataInstFormDef
impl Eq for DataInstFormDef
impl StructuralPartialEq for DataInstFormDef
Auto Trait Implementations§
impl Freeze for DataInstFormDef
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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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 Q
impl<Q, K> Equivalent<K> for Q
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.Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more