pub struct SampleSizeAtomBuilder<S: State = Empty> { /* private fields */ }Expand description
Use builder syntax to set the inputs and finish with build().
Implementations§
Source§impl<S: State> SampleSizeAtomBuilder<S>
impl<S: State> SampleSizeAtomBuilder<S>
Sourcepub fn build(self) -> SampleSizeAtomwhere
S: IsComplete,
pub fn build(self) -> SampleSizeAtomwhere
S: IsComplete,
Finishes building and performs the requested action.
Sourcepub fn sample_count(
self,
value: u32,
) -> SampleSizeAtomBuilder<SetSampleCount<S>>where
S::SampleCount: IsUnset,
pub fn sample_count(
self,
value: u32,
) -> SampleSizeAtomBuilder<SetSampleCount<S>>where
S::SampleCount: IsUnset,
Sourcepub fn maybe_sample_count(
self,
value: Option<u32>,
) -> SampleSizeAtomBuilder<SetSampleCount<S>>where
S::SampleCount: IsUnset,
pub fn maybe_sample_count(
self,
value: Option<u32>,
) -> SampleSizeAtomBuilder<SetSampleCount<S>>where
S::SampleCount: IsUnset,
Source§impl<S: State> SampleSizeAtomBuilder<S>
impl<S: State> SampleSizeAtomBuilder<S>
pub fn sample_size(
self,
sample_size: u32,
) -> SampleSizeAtomBuilder<SetSampleSize<SetEntrySizes<S>>>where
S::EntrySizes: IsUnset,
S::SampleSize: IsUnset,
pub fn entry_sizes<I1>(
self,
entry_sizes: I1,
) -> SampleSizeAtomBuilderEntrySizesBuilder<S, I1>where
S::EntrySizes: IsUnset,
S::SampleSize: IsUnset,
S::SampleCount: IsUnset,
I1: IntoIterator<Item = u32>,
Auto Trait Implementations§
impl<S> Freeze for SampleSizeAtomBuilder<S>
impl<S> RefUnwindSafe for SampleSizeAtomBuilder<S>
impl<S> Send for SampleSizeAtomBuilder<S>
impl<S> Sync for SampleSizeAtomBuilder<S>
impl<S> Unpin for SampleSizeAtomBuilder<S>
impl<S> UnsafeUnpin for SampleSizeAtomBuilder<S>
impl<S> UnwindSafe for SampleSizeAtomBuilder<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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more