pub struct WarningDef {
pub code: &'static str,
pub doc: &'static str,
}Expand description
One warning code and what it means, for the tables the bindings
generate from the core (docs/props.md, the Node WarningCode union).
doc is the const’s own doc comment, so there is one text to edit.
Fields§
§code: &'static str§doc: &'static strAuto Trait Implementations§
impl Freeze for WarningDef
impl RefUnwindSafe for WarningDef
impl Send for WarningDef
impl Sync for WarningDef
impl Unpin for WarningDef
impl UnsafeUnpin for WarningDef
impl UnwindSafe for WarningDef
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