pub enum RustMember {
Field {
words: Vec<String>,
ty: String,
declarations: BTreeMap<String, String>,
},
Merge {
ty: String,
declarations: BTreeMap<String, String>,
},
}Expand description
One member of a product, as a field would state it.
Variants§
Field
A field of its own, under the words naming it.
Merge
Another product’s members, held by a field that carries them.
Trait Implementations§
Source§impl Clone for RustMember
impl Clone for RustMember
Source§fn clone(&self) -> RustMember
fn clone(&self) -> RustMember
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 RustMember
impl Debug for RustMember
impl Eq for RustMember
Source§impl PartialEq for RustMember
impl PartialEq for RustMember
impl StructuralPartialEq for RustMember
Auto Trait Implementations§
impl Freeze for RustMember
impl RefUnwindSafe for RustMember
impl Send for RustMember
impl Sync for RustMember
impl Unpin for RustMember
impl UnsafeUnpin for RustMember
impl UnwindSafe for RustMember
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<This> ShapeProgramExt<This> for This
impl<This> ShapeProgramExt<This> for This
Source§fn compile_shape<Program>(
&self,
program: Program,
) -> <Program as ShapeProgramAlg<This>>::Tywhere
Program: ShapeProgramAlg<This>,
fn compile_shape<Program>(
&self,
program: Program,
) -> <Program as ShapeProgramAlg<This>>::Tywhere
Program: ShapeProgramAlg<This>,
Folds a declaration with this interpretation.