pub struct ConfigBounds<T> {
pub min: T,
pub max: T,
pub default: T,
pub conf_name: String,
pub description: String,
}Fields§
§min: T§max: T§default: T§conf_name: String§description: StringTrait Implementations§
Source§impl<T: Debug> Debug for ConfigBounds<T>
impl<T: Debug> Debug for ConfigBounds<T>
Source§impl<T: FromAttribute> From<_POAConfigAttributes> for ConfigBounds<T>
impl<T: FromAttribute> From<_POAConfigAttributes> for ConfigBounds<T>
Source§fn from(value: POAConfigAttributes) -> Self
fn from(value: POAConfigAttributes) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl<T> Freeze for ConfigBounds<T>where
T: Freeze,
impl<T> RefUnwindSafe for ConfigBounds<T>where
T: RefUnwindSafe,
impl<T> Send for ConfigBounds<T>where
T: Send,
impl<T> Sync for ConfigBounds<T>where
T: Sync,
impl<T> Unpin for ConfigBounds<T>where
T: Unpin,
impl<T> UnsafeUnpin for ConfigBounds<T>where
T: UnsafeUnpin,
impl<T> UnwindSafe for ConfigBounds<T>where
T: UnwindSafe,
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