pub struct SynthContext {
pub components: HashMap<String, SynthType>,
}Expand description
A type-directed synthesis context: typed components available.
Fields§
§components: HashMap<String, SynthType>Named components with their types.
Implementations§
Source§impl SynthContext
impl SynthContext
Trait Implementations§
Source§impl Clone for SynthContext
impl Clone for SynthContext
Source§fn clone(&self) -> SynthContext
fn clone(&self) -> SynthContext
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 SynthContext
impl Debug for SynthContext
Source§impl Default for SynthContext
impl Default for SynthContext
Source§fn default() -> SynthContext
fn default() -> SynthContext
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for SynthContext
impl RefUnwindSafe for SynthContext
impl Send for SynthContext
impl Sync for SynthContext
impl Unpin for SynthContext
impl UnsafeUnpin for SynthContext
impl UnwindSafe for SynthContext
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