pub struct PropSpec {
pub help_heading: Option<&'static str>,
pub writes_to: Option<&'static str>,
pub extensions: &'static [(&'static str, Const)],
}Expand description
Documentation-only metadata for one property.
Kept beside, rather than in, PropMeta: resolution never interprets these fields. A
derived crate::Props exposes a parallel slice in the same declaration order.
Fields§
§help_heading: Option<&'static str>§writes_to: Option<&'static str>§extensions: &'static [(&'static str, Const)]Tool-private metadata, emitted as x "key" value nodes.
Implementations§
Trait Implementations§
impl Copy for PropSpec
impl StructuralPartialEq for PropSpec
Auto Trait Implementations§
impl Freeze for PropSpec
impl RefUnwindSafe for PropSpec
impl Send for PropSpec
impl Sync for PropSpec
impl Unpin for PropSpec
impl UnsafeUnpin for PropSpec
impl UnwindSafe for PropSpec
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