pub struct Set;Expand description
Typestate marker for a required property that has been set.
Builders generated by #[derive(Props)] track each required
property in a generic argument. Calling the property’s setter flips that
argument to Set; before that it is a generated marker type named after
the property.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Set
impl RefUnwindSafe for Set
impl Send for Set
impl Sync for Set
impl Unpin for Set
impl UnsafeUnpin for Set
impl UnwindSafe for Set
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