pub struct MsgDecl {
pub name: String,
pub content: String,
pub span: Option<Span>,
pub attrs: Vec<AttrPair>,
}Expand description
Message declaration: msg click = "bang";
Optional .attr() chain: msg click = "bang".attr(patching_rect: 100.);
Fields§
§name: String§content: String§span: Option<Span>§attrs: Vec<AttrPair>Trait Implementations§
impl StructuralPartialEq for MsgDecl
Auto Trait Implementations§
impl Freeze for MsgDecl
impl RefUnwindSafe for MsgDecl
impl Send for MsgDecl
impl Sync for MsgDecl
impl Unpin for MsgDecl
impl UnsafeUnpin for MsgDecl
impl UnwindSafe for MsgDecl
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