pub struct Property<'l, T, S, G> {
pub name: &'l str,
pub setter: S,
pub getter: G,
pub default: T,
pub hint: PropertyHint<'l>,
pub usage: PropertyUsage,
}
Fields§
§name: &'l str
§setter: S
§getter: G
§default: T
§hint: PropertyHint<'l>
§usage: PropertyUsage
Auto Trait Implementations§
impl<'l, T, S, G> Freeze for Property<'l, T, S, G>
impl<'l, T, S, G> RefUnwindSafe for Property<'l, T, S, G>
impl<'l, T, S, G> Send for Property<'l, T, S, G>
impl<'l, T, S, G> Sync for Property<'l, T, S, G>
impl<'l, T, S, G> Unpin for Property<'l, T, S, G>
impl<'l, T, S, G> UnwindSafe for Property<'l, T, S, G>
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