calyx_ir

Trait 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§

Source

fn get_attributes(&self) -> &Attributes

Returns an Attributes instance

Source

fn get_mut_attributes(&mut self) -> &mut Attributes

Returns a mutable Attributes instance

Implementors§