pub struct HiddenPostsPrefBuilder<St: State, S: BosStr = DefaultStr> { /* private fields */ }Expand description
Builder for constructing an instance of this type.
Implementations§
Source§impl<S: BosStr> HiddenPostsPrefBuilder<Empty, S>
impl<S: BosStr> HiddenPostsPrefBuilder<Empty, S>
Source§impl<St, S: BosStr> HiddenPostsPrefBuilder<St, S>
impl<St, S: BosStr> HiddenPostsPrefBuilder<St, S>
Source§impl<St, S: BosStr> HiddenPostsPrefBuilder<St, S>
impl<St, S: BosStr> HiddenPostsPrefBuilder<St, S>
Sourcepub fn build(self) -> HiddenPostsPref<S>
pub fn build(self) -> HiddenPostsPref<S>
Build the final struct.
Sourcepub fn build_with_data(
self,
extra_data: BTreeMap<SmolStr, Data<S>>,
) -> HiddenPostsPref<S>
pub fn build_with_data( self, extra_data: BTreeMap<SmolStr, Data<S>>, ) -> HiddenPostsPref<S>
Build the final struct with custom extra_data.
Auto Trait Implementations§
impl<St, S> Freeze for HiddenPostsPrefBuilder<St, S>
impl<St, S> RefUnwindSafe for HiddenPostsPrefBuilder<St, S>where
S: RefUnwindSafe,
impl<St, S> Send for HiddenPostsPrefBuilder<St, S>where
S: Send,
impl<St, S> Sync for HiddenPostsPrefBuilder<St, S>where
S: Sync,
impl<St, S> Unpin for HiddenPostsPrefBuilder<St, S>where
S: Unpin,
impl<St, S> UnsafeUnpin for HiddenPostsPrefBuilder<St, S>
impl<St, S> UnwindSafe for HiddenPostsPrefBuilder<St, S>where
S: 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