pub struct PropertyHookConfigBuilder<S: State = Empty> { /* private fields */ }Available on crate features
hook and prop only.Expand description
Use builder syntax to set the inputs and finish with build().
Implementations§
Source§impl<S: State> PropertyHookConfigBuilder<S>
impl<S: State> PropertyHookConfigBuilder<S>
Sourcepub fn build(self) -> PropertyHookConfigwhere
S: IsComplete,
pub fn build(self) -> PropertyHookConfigwhere
S: IsComplete,
Finish building and return the requested object
Sourcepub fn str_prefix(
self,
value: impl Into<Vec<u16>>,
) -> PropertyHookConfigBuilder<SetStrPrefix<S>>where
S::StrPrefix: IsUnset,
pub fn str_prefix(
self,
value: impl Into<Vec<u16>>,
) -> PropertyHookConfigBuilder<SetStrPrefix<S>>where
S::StrPrefix: IsUnset,
Sourcepub fn maybe_str_prefix(
self,
value: Option<impl Into<Vec<u16>>>,
) -> PropertyHookConfigBuilder<SetStrPrefix<S>>where
S::StrPrefix: IsUnset,
pub fn maybe_str_prefix(
self,
value: Option<impl Into<Vec<u16>>>,
) -> PropertyHookConfigBuilder<SetStrPrefix<S>>where
S::StrPrefix: IsUnset,
Sourcepub fn size_from_everything(
self,
value: bool,
) -> PropertyHookConfigBuilder<SetSizeFromEverything<S>>where
S::SizeFromEverything: IsUnset,
pub fn size_from_everything(
self,
value: bool,
) -> PropertyHookConfigBuilder<SetSizeFromEverything<S>>where
S::SizeFromEverything: IsUnset,
Sourcepub fn maybe_size_from_everything(
self,
value: Option<bool>,
) -> PropertyHookConfigBuilder<SetSizeFromEverything<S>>where
S::SizeFromEverything: IsUnset,
pub fn maybe_size_from_everything(
self,
value: Option<bool>,
) -> PropertyHookConfigBuilder<SetSizeFromEverything<S>>where
S::SizeFromEverything: IsUnset,
Sourcepub fn system(
self,
value: PropertySystemHookConfig,
) -> PropertyHookConfigBuilder<SetSystem<S>>where
S::System: IsUnset,
pub fn system(
self,
value: PropertySystemHookConfig,
) -> PropertyHookConfigBuilder<SetSystem<S>>where
S::System: IsUnset,
Sourcepub fn maybe_system(
self,
value: Option<PropertySystemHookConfig>,
) -> PropertyHookConfigBuilder<SetSystem<S>>where
S::System: IsUnset,
pub fn maybe_system(
self,
value: Option<PropertySystemHookConfig>,
) -> PropertyHookConfigBuilder<SetSystem<S>>where
S::System: IsUnset,
Auto Trait Implementations§
impl<S> Freeze for PropertyHookConfigBuilder<S>
impl<S> RefUnwindSafe for PropertyHookConfigBuilder<S>
impl<S> Send for PropertyHookConfigBuilder<S>
impl<S> Sync for PropertyHookConfigBuilder<S>
impl<S> Unpin for PropertyHookConfigBuilder<S>
impl<S> UnsafeUnpin for PropertyHookConfigBuilder<S>
impl<S> UnwindSafe for PropertyHookConfigBuilder<S>
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