Trait calyx_frontend::GetAttributes
source · pub trait GetAttributes {
// Required methods
fn get_attributes(&self) -> &Attributes;
fn get_mut_attributes(&mut self) -> &mut Attributes;
}Expand description
Structs that can return an Attributes instance.
Required Methods§
sourcefn get_attributes(&self) -> &Attributes
fn get_attributes(&self) -> &Attributes
Returns an Attributes instance
sourcefn get_mut_attributes(&mut self) -> &mut Attributes
fn get_mut_attributes(&mut self) -> &mut Attributes
Returns a mutable Attributes instance