pub struct Config<TMsg> {
pub derive_items: Vec<Box<dyn DeriveItemProcess<TMsg>>>,
}
Expand description
Настройки cmp_derive
Fields§
§derive_items: Vec<Box<dyn DeriveItemProcess<TMsg>>>
Вектор структур DeriveItem
§Примеры
#[derive(Clone, Default, PartialEq)]
struct NewMsg {
pub f64: Option<f64>,
}
Trait Implementations§
Source§impl<TMsg, TService> IComponentProcess<Config<TMsg>, TMsg, TService> for Component<Config<TMsg>, TMsg, TService>where
TMsg: MsgDataBound + 'static,
TService: ServiceBound + 'static,
impl<TMsg, TService> IComponentProcess<Config<TMsg>, TMsg, TService> for Component<Config<TMsg>, TMsg, TService>where
TMsg: MsgDataBound + 'static,
TService: ServiceBound + 'static,
Auto Trait Implementations§
impl<TMsg> Freeze for Config<TMsg>
impl<TMsg> !RefUnwindSafe for Config<TMsg>
impl<TMsg> Send for Config<TMsg>
impl<TMsg> Sync for Config<TMsg>
impl<TMsg> Unpin for Config<TMsg>
impl<TMsg> !UnwindSafe for Config<TMsg>
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