pub struct UnionCodegenIr {
pub type_name_override: Option<String>,
pub derive: InheritableCodegenValueIr<Vec<String>>,
pub inline_derive: InheritableCodegenValueIr<Vec<String>>,
pub variant_types: bool,
pub variant_types_suffix_override: Option<String>,
pub variant_type_derive: InheritableCodegenValueIr<Vec<String>>,
}Fields§
§type_name_override: Option<String>§derive: InheritableCodegenValueIr<Vec<String>>§inline_derive: InheritableCodegenValueIr<Vec<String>>§variant_types: bool§variant_types_suffix_override: Option<String>§variant_type_derive: InheritableCodegenValueIr<Vec<String>>Implementations§
Source§impl UnionCodegenIr
impl UnionCodegenIr
Sourcepub fn builder() -> UnionCodegenIrBuilder
pub fn builder() -> UnionCodegenIrBuilder
Create an instance of UnionCodegenIr using the builder syntax
Trait Implementations§
Source§impl Clone for UnionCodegenIr
impl Clone for UnionCodegenIr
Source§fn clone(&self) -> UnionCodegenIr
fn clone(&self) -> UnionCodegenIr
Returns a duplicate 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 Debug for UnionCodegenIr
impl Debug for UnionCodegenIr
Source§impl Default for UnionCodegenIr
impl Default for UnionCodegenIr
Source§impl PartialEq for UnionCodegenIr
impl PartialEq for UnionCodegenIr
impl Eq for UnionCodegenIr
impl StructuralPartialEq for UnionCodegenIr
Auto Trait Implementations§
impl Freeze for UnionCodegenIr
impl RefUnwindSafe for UnionCodegenIr
impl Send for UnionCodegenIr
impl Sync for UnionCodegenIr
impl Unpin for UnionCodegenIr
impl UnsafeUnpin for UnionCodegenIr
impl UnwindSafe for UnionCodegenIr
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§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.