pub struct PullOnly(pub Box<dyn PullSource>);Expand description
Wraps a boxed PullSource as a pull-only CoordinateSource.
Tuple Fields§
§0: Box<dyn PullSource>Trait Implementations§
Source§impl CoordinateSource for PullOnly
impl CoordinateSource for PullOnly
Source§fn as_pull(&mut self) -> Option<&mut dyn PullSource>
fn as_pull(&mut self) -> Option<&mut dyn PullSource>
The pull-only decorator (sweep / lex / discrete traversal), or
None if
this source is feedback-only.Source§fn as_feedback(&mut self) -> Option<&mut dyn FeedbackSource>
fn as_feedback(&mut self) -> Option<&mut dyn FeedbackSource>
The feedback-driven decorator (adaptive optimizers), or
None if this
source ignores objective feedback.Auto Trait Implementations§
impl !RefUnwindSafe for PullOnly
impl !Sync for PullOnly
impl !UnwindSafe for PullOnly
impl Freeze for PullOnly
impl Send for PullOnly
impl Unpin for PullOnly
impl UnsafeUnpin for PullOnly
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
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