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