pub struct ConfigEntry {
pub public: bool,
pub name: Ident,
pub ty: Ty,
pub value: Expr,
}Expand description
name: Type = value in config.
Fields§
§public: boolpub
name: IdentThe name.
ty: TyThe written type.
value: ExprThe initializer.
Trait Implementations§
Source§impl Clone for ConfigEntry
impl Clone for ConfigEntry
Source§impl Debug for ConfigEntry
impl Debug for ConfigEntry
Source§impl PartialEq for ConfigEntry
impl PartialEq for ConfigEntry
impl StructuralPartialEq for ConfigEntry
Auto Trait Implementations§
impl Freeze for ConfigEntry
impl RefUnwindSafe for ConfigEntry
impl Send for ConfigEntry
impl Sync for ConfigEntry
impl Unpin for ConfigEntry
impl UnsafeUnpin for ConfigEntry
impl UnwindSafe for ConfigEntry
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