pub enum CurrentSource<'s> {
Params(<Vec<KeyValueBuilder> as Builder<'s>>::Out),
Value(<ValueBuilder as Builder<'s>>::Out),
PWL(<PWLBuilder as Builder<'s>>::Out),
}
Variants§
Params(<Vec<KeyValueBuilder> as Builder<'s>>::Out)
Value(<ValueBuilder as Builder<'s>>::Out)
PWL(<PWLBuilder as Builder<'s>>::Out)
Trait Implementations§
Source§impl<'s> Clone for CurrentSource<'s>
impl<'s> Clone for CurrentSource<'s>
Source§fn clone(&self) -> CurrentSource<'s>
fn clone(&self) -> CurrentSource<'s>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl<'s> Debug for CurrentSource<'s>
impl<'s> Debug for CurrentSource<'s>
Auto Trait Implementations§
impl<'s> Freeze for CurrentSource<'s>
impl<'s> RefUnwindSafe for CurrentSource<'s>
impl<'s> Send for CurrentSource<'s>
impl<'s> Sync for CurrentSource<'s>
impl<'s> Unpin for CurrentSource<'s>
impl<'s> UnwindSafe for CurrentSource<'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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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