pub struct LoweredSubComponentMapping {
pub element_mapping: HashMap<ByAddress<ElementRc>, LoweredElement>,
pub property_mapping: HashMap<NamedReference, PropertyReference>,
}
Fields§
§element_mapping: HashMap<ByAddress<ElementRc>, LoweredElement>
§property_mapping: HashMap<NamedReference, PropertyReference>
Implementations§
source§impl LoweredSubComponentMapping
impl LoweredSubComponentMapping
pub fn map_property_reference( &self, from: &NamedReference, state: &LoweringState ) -> PropertyReference
Trait Implementations§
source§impl Clone for LoweredSubComponentMapping
impl Clone for LoweredSubComponentMapping
source§fn clone(&self) -> LoweredSubComponentMapping
fn clone(&self) -> LoweredSubComponentMapping
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 Debug for LoweredSubComponentMapping
impl Debug for LoweredSubComponentMapping
source§impl Default for LoweredSubComponentMapping
impl Default for LoweredSubComponentMapping
source§fn default() -> LoweredSubComponentMapping
fn default() -> LoweredSubComponentMapping
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl !RefUnwindSafe for LoweredSubComponentMapping
impl !Send for LoweredSubComponentMapping
impl !Sync for LoweredSubComponentMapping
impl Unpin for LoweredSubComponentMapping
impl !UnwindSafe for LoweredSubComponentMapping
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