pub struct SamplerChainBuilder { /* private fields */ }Implementations§
Source§impl SamplerChainBuilder
impl SamplerChainBuilder
pub fn push<S: Sampler + 'static>(self, s: S) -> Self
pub fn push_boxed(self, s: Box<dyn Sampler>) -> Self
pub fn build(self) -> SamplerChain
Trait Implementations§
Source§impl Debug for SamplerChainBuilder
impl Debug for SamplerChainBuilder
Source§impl Default for SamplerChainBuilder
impl Default for SamplerChainBuilder
Source§fn default() -> SamplerChainBuilder
fn default() -> SamplerChainBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl !RefUnwindSafe for SamplerChainBuilder
impl !UnwindSafe for SamplerChainBuilder
impl Freeze for SamplerChainBuilder
impl Send for SamplerChainBuilder
impl Sync for SamplerChainBuilder
impl Unpin for SamplerChainBuilder
impl UnsafeUnpin for SamplerChainBuilder
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