pub struct Element {
pub kind: ElementKind,
pub items: ElementItems,
pub name: Option<String>,
/* private fields */
}Expand description
A passive segment which contains a list of functions
Fields§
§kind: ElementKindThe kind of the element segment.
items: ElementItemsThe initial elements of the element segment.
name: Option<String>The name of this element, used for debugging purposes in the name
custom section.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Element
impl RefUnwindSafe for Element
impl Send for Element
impl Sync for Element
impl Unpin for Element
impl UnwindSafe for Element
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