pub struct RootCodegen {
pub type_name: Option<String>,
}Expand description
Root-level codegen settings ($codegen).
Fields§
§type_name: Option<String>Override root generated type name.
Trait Implementations§
Source§impl Clone for RootCodegen
impl Clone for RootCodegen
Source§fn clone(&self) -> RootCodegen
fn clone(&self) -> RootCodegen
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 RootCodegen
impl Debug for RootCodegen
Source§impl Default for RootCodegen
impl Default for RootCodegen
Source§fn default() -> RootCodegen
fn default() -> RootCodegen
Returns the “default value” for a type. Read more
Source§impl<'doc> FromEure<'doc> for RootCodegen
impl<'doc> FromEure<'doc> for RootCodegen
Source§type Error = ParseError
type Error = ParseError
The error type returned by parsing.
Source§impl IntoEure for RootCodegen
impl IntoEure for RootCodegen
Source§type Error = WriteError
type Error = WriteError
The error type returned when writing. Read more
Source§fn write(value: Self, c: &mut DocumentConstructor) -> Result<(), Self::Error>
fn write(value: Self, c: &mut DocumentConstructor) -> Result<(), Self::Error>
Write a value to the current node in the document constructor.
Source§fn write_flatten(
value: Self,
rec: &mut RecordWriter<'_>,
) -> Result<(), Self::Error>
fn write_flatten( value: Self, rec: &mut RecordWriter<'_>, ) -> Result<(), Self::Error>
Write a value as flattened record fields. Read more
Source§impl PartialEq for RootCodegen
impl PartialEq for RootCodegen
impl Eq for RootCodegen
impl StructuralPartialEq for RootCodegen
Auto Trait Implementations§
impl Freeze for RootCodegen
impl RefUnwindSafe for RootCodegen
impl Send for RootCodegen
impl Sync for RootCodegen
impl Unpin for RootCodegen
impl UnsafeUnpin for RootCodegen
impl UnwindSafe for RootCodegen
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.