pub enum ProcessIntegrand {
Amplitude(AmplitudeIntegrand),
CrossSection(CrossSectionIntegrand),
}Variants§
Amplitude(AmplitudeIntegrand)
CrossSection(CrossSectionIntegrand)
Implementations§
Source§impl ProcessIntegrand
impl ProcessIntegrand
pub fn clone_with_selected_graph_groups( &self, graph_names: &[String], ) -> Result<Self>
pub fn resume_fingerprint(&self) -> Result<String>
pub fn kind_name(&self) -> &'static str
pub fn export_standalone( &self, path: impl AsRef<Path>, settings: &StandaloneExportSettings, ) -> Result<()>
pub fn warm_up(&mut self, model: &Model) -> Result<()>
pub fn frozen_compilation(&self) -> &FrozenCompilationMode
pub fn active_f64_backend(&self) -> ActiveF64Backend
pub fn get_settings(&self) -> &RuntimeSettings
Sourcepub fn get_mut_settings(&mut self) -> &mut RuntimeSettings
pub fn get_mut_settings(&mut self) -> &mut RuntimeSettings
Invalidate runtime caches before exposing mutable settings. Call
warm_up again before evaluating samples through sampling channels.
pub fn graph_count(&self) -> usize
pub fn graph_group_count(&self) -> usize
pub fn graph_group_master_names(&self) -> Vec<&str>
pub fn find_graph_id_by_name(&self, graph_name: &str) -> Option<usize>
pub fn graph_name_by_id(&self, graph_id: usize) -> Option<&str>
pub fn graph_group_id_by_graph_id(&self, graph_id: usize) -> Option<usize>
pub fn cut_edge_ids(&self, graph_id: usize, cut_id: usize) -> Option<Vec<usize>>
pub fn lmb_sample_id_for_channel( &self, graph_id: usize, sampling_channel_id: usize, parameterization_settings: &ParameterizationSettings, ) -> Result<Option<usize>>
pub fn resolve_group_id_by_master_name( &self, graph_name: &str, ) -> Result<GroupId>
pub fn resolve_discrete_selection( &self, discrete_dimensions: &[usize], ) -> Result<(Option<GroupId>, Option<usize>, Option<SamplingChannelId>)>
pub fn expected_x_space_dimension( &self, discrete_dimensions: &[usize], ) -> Result<usize>
pub fn discrete_sampling_depth(&self) -> usize
pub fn group_orientation_count(&self, group_id: GroupId) -> Option<usize>
Sourcepub fn group_sampling_channel_ids(
&self,
group_id: GroupId,
parameterization_settings: &ParameterizationSettings,
) -> Result<Vec<SamplingChannelId>>
pub fn group_sampling_channel_ids( &self, group_id: GroupId, parameterization_settings: &ParameterizationSettings, ) -> Result<Vec<SamplingChannelId>>
Return the canonical sampling-channel IDs for a graph group.
The IDs come directly from the master graph’s single catalogue. This
helper is intended for saved-state acceptance callers constructing
explicit (group, orientation, channel) selections; callers must pass
the same parameterization settings used by the loaded state.
pub fn group_channel_count(&self, group_id: GroupId) -> Option<usize>
pub fn graph_orientation_count(&self, graph_id: usize) -> Option<usize>
pub fn evaluate_momentum_configuration( &mut self, model: &Model, input: &MomentumSpaceEvaluationInput, use_arb_prec: bool, ) -> Result<EvaluationResult>
pub fn evaluate_sample_precise( &mut self, sample: &Sample<F<f64>>, model: &Model, wgt: F<f64>, use_arb_prec: bool, max_eval: Complex<F<f64>>, ) -> Result<PreciseEvaluationResult>
Sourcepub fn evaluate_reference_sample(
&mut self,
sample: &Sample<F<f64>>,
reference: &GaussianReferenceFunction,
) -> Result<EvaluationResult>
pub fn evaluate_reference_sample( &mut self, sample: &Sample<F<f64>>, reference: &GaussianReferenceFunction, ) -> Result<EvaluationResult>
Evaluate a normalized reference function through the real process parameterization, retaining its Jacobian and integrator weight.
This is intentionally a test-only style overlay: graph routing,
orientation/channel selection and all sampling maps are still exercised,
while the physical graph evaluation is replaced by reference.
Sourcepub fn evaluate_reference_coordinates(
&mut self,
coordinates: &[Vec<f64>],
reference: &GaussianReferenceFunction,
) -> Result<ReferenceSamplingReport>
pub fn evaluate_reference_coordinates( &mut self, coordinates: &[Vec<f64>], reference: &GaussianReferenceFunction, ) -> Result<ReferenceSamplingReport>
Evaluate a normalized reference function from unit-cube coordinates.
This convenience entry point is intended for saved-state acceptance
harnesses: callers can load a process normally, generate deterministic
coordinates (for example Halton points), and exercise the complete
process parameterization without constructing Symbolica Sample
values themselves. The coordinate batch is interpreted as an equally
weighted quadrature rule, so each sample has unit inverse-density weight
and the report averages once over the N draws; the
canonical sampling channel selected by
the loaded settings remains responsible for its map and Jacobian.
Sourcepub fn evaluate_reference_discrete_coordinates(
&mut self,
discrete_indices: &[usize],
coordinates: &[Vec<f64>],
reference: &GaussianReferenceFunction,
) -> Result<ReferenceSamplingReport>
pub fn evaluate_reference_discrete_coordinates( &mut self, discrete_indices: &[usize], coordinates: &[Vec<f64>], reference: &GaussianReferenceFunction, ) -> Result<ReferenceSamplingReport>
Evaluate deterministic coordinates under one explicit discrete
selection path. discrete_indices is ordered from the outermost
Sample::Discrete selector to the innermost one, matching the
canonical graph/orientation/channel order used by the process sampler.
The selection itself is never re-enumerated or filtered here; callers
must supply IDs obtained from the loaded process’ canonical catalogue.
Unit discrete weights make this a partition contribution, which need
not integrate to one. A complete acceptance estimator must sum the
per-draw contributions or use MC samples with reciprocal selection
probabilities. Do not add report errors for channels sharing the same
coordinates: their contributions must be combined before squaring.
Sourcepub fn evaluate_reference_samples(
&mut self,
samples: &[Sample<F<f64>>],
reference: &GaussianReferenceFunction,
) -> Result<ReferenceSamplingReport>
pub fn evaluate_reference_samples( &mut self, samples: &[Sample<F<f64>>], reference: &GaussianReferenceFunction, ) -> Result<ReferenceSamplingReport>
Evaluate a batch of samples with a normalized reference function while retaining the process maps, Jacobians and sampling-grid weights.
Sourcepub fn evaluate_reference_sample_detailed(
&mut self,
sample: &Sample<F<f64>>,
reference: &GaussianReferenceFunction,
) -> Result<ReferenceSampleEvaluation>
pub fn evaluate_reference_sample_detailed( &mut self, sample: &Sample<F<f64>>, reference: &GaussianReferenceFunction, ) -> Result<ReferenceSampleEvaluation>
Detailed variant used by acceptance harnesses that also check raw momentum moments. The public scalar method above remains convenient for callers interested only in the mapped value.
pub fn evaluate_momentum_configuration_precise( &mut self, model: &Model, input: &MomentumSpaceEvaluationInput, use_arb_prec: bool, ) -> Result<PreciseEvaluationResult>
pub fn evaluate_samples_raw( &mut self, target: EvaluationTarget<'_>, samples: &[Sample<F<f64>>], _iter: usize, use_arb_prec: bool, stop_on_interrupt: bool, max_eval: Complex<F<f64>>, ) -> Result<RawBatchEvaluationResult>
pub fn evaluate_samples_raw_with_estimate( &mut self, target: EvaluationTarget<'_>, samples: &[Sample<F<f64>>], _iter: usize, use_arb_prec: bool, stop_on_interrupt: bool, max_eval: Complex<F<f64>>, integral_estimate: Option<(f64, f64)>, ) -> Result<RawBatchEvaluationResult>
pub fn evaluate_momentum_configurations_raw( &mut self, model: &Model, inputs: &[MomentumSpaceEvaluationInput], use_arb_prec: bool, ) -> Result<RawBatchEvaluationResult>
pub fn evaluate_samples_precise_raw( &mut self, model: &Model, samples: &[Sample<F<f64>>], use_arb_prec: bool, max_eval: Complex<F<f64>>, ) -> Result<RawPreciseBatchEvaluationResult>
pub fn evaluate_momentum_configurations_precise_raw( &mut self, model: &Model, inputs: &[MomentumSpaceEvaluationInput], use_arb_prec: bool, ) -> Result<RawPreciseBatchEvaluationResult>
pub fn process_evaluation_result(&mut self, result: &EvaluationResult)
pub fn merge_event_processing_runtime(&mut self, other: &mut Self) -> Result<()>
pub fn update_event_processing_runtime(&mut self, iter: usize)
pub fn observable_accumulator_bundle( &self, ) -> Option<ObservableAccumulatorBundle>
pub fn has_observables(&self) -> bool
pub fn observable_snapshot_bundle(&self) -> Option<ObservableSnapshotBundle>
pub fn build_observable_snapshots_for_result( &self, result: &EvaluationResult, ) -> Option<ObservableSnapshotBundle>
pub fn build_observable_snapshots_for_precise_result( &self, result: &PreciseEvaluationResult, ) -> Option<ObservableSnapshotBundle>
pub fn write_observable_snapshots( &self, path: impl AsRef<Path>, format: ObservableFileFormat, ) -> Result<()>
pub fn restore_observable_snapshot_bundle( &mut self, bundle: &ObservableSnapshotBundle, ) -> Result<()>
Trait Implementations§
Source§impl Clone for ProcessIntegrand
impl Clone for ProcessIntegrand
Source§fn clone(&self) -> ProcessIntegrand
fn clone(&self) -> ProcessIntegrand
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl<__Context> Decode<__Context> for ProcessIntegrandwhere
__Context: GammaLoopContext,
impl<__Context> Decode<__Context> for ProcessIntegrandwhere
__Context: GammaLoopContext,
Source§impl Encode for ProcessIntegrand
impl Encode for ProcessIntegrand
Source§impl From<AmplitudeIntegrand> for ProcessIntegrand
impl From<AmplitudeIntegrand> for ProcessIntegrand
Source§fn from(v: AmplitudeIntegrand) -> ProcessIntegrand
fn from(v: AmplitudeIntegrand) -> ProcessIntegrand
Source§impl From<CrossSectionIntegrand> for ProcessIntegrand
impl From<CrossSectionIntegrand> for ProcessIntegrand
Source§fn from(v: CrossSectionIntegrand) -> ProcessIntegrand
fn from(v: CrossSectionIntegrand) -> ProcessIntegrand
Source§impl HasIntegrand for ProcessIntegrand
impl HasIntegrand for ProcessIntegrand
Source§fn create_grid(&self) -> Grid<F<f64>>
fn create_grid(&self) -> Grid<F<f64>>
Constructs the continuous or discrete integration grid required by this integrand.
Source§fn name(&self) -> String
fn name(&self) -> String
Returns the integrand name used in state inspection, logs, and status output.
Source§fn evaluate_sample(
&mut self,
__enum_dispatch_arg_0: &Sample<F<f64>>,
__enum_dispatch_arg_1: &Model,
__enum_dispatch_arg_2: F<f64>,
__enum_dispatch_arg_3: usize,
__enum_dispatch_arg_4: bool,
__enum_dispatch_arg_5: Complex<F<f64>>,
) -> Result<EvaluationResult>
fn evaluate_sample( &mut self, __enum_dispatch_arg_0: &Sample<F<f64>>, __enum_dispatch_arg_1: &Model, __enum_dispatch_arg_2: F<f64>, __enum_dispatch_arg_3: usize, __enum_dispatch_arg_4: bool, __enum_dispatch_arg_5: Complex<F<f64>>, ) -> Result<EvaluationResult>
Evaluates one weighted grid sample against the supplied model and numerical controls.
Source§fn get_n_dim(&self) -> usize
fn get_n_dim(&self) -> usize
Returns the number of continuous sampling dimensions used by the integrand.
Source§fn get_integrator_settings(&self) -> IntegratorSettings
fn get_integrator_settings(&self) -> IntegratorSettings
Returns integrator settings specialized for this integrand, or the defaults.
Source§fn merge_results<I: HasIntegrand>(
&mut self,
__enum_dispatch_arg_0: &mut I,
__enum_dispatch_arg_1: usize,
)
fn merge_results<I: HasIntegrand>( &mut self, __enum_dispatch_arg_0: &mut I, __enum_dispatch_arg_1: usize, )
Merges iteration-local result state from another worker integrand.
Source§fn update_results(&mut self, __enum_dispatch_arg_0: usize)
fn update_results(&mut self, __enum_dispatch_arg_0: usize)
Finalizes or writes iteration-local result state after an integration iteration.
Source§impl TryInto<AmplitudeIntegrand> for ProcessIntegrand
impl TryInto<AmplitudeIntegrand> for ProcessIntegrand
Auto Trait Implementations§
impl !RefUnwindSafe for ProcessIntegrand
impl !Sync for ProcessIntegrand
impl !UnwindSafe for ProcessIntegrand
impl Freeze for ProcessIntegrand
impl Send for ProcessIntegrand
impl Unpin for ProcessIntegrand
impl UnsafeUnpin for ProcessIntegrand
Blanket Implementations§
§impl<T> AtomComponentOptimizable<()> for T
impl<T> AtomComponentOptimizable<()> for T
fn optimize_atom_components(self) -> T
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
Source§impl<T> CheckedAs for T
impl<T> CheckedAs for T
Source§fn checked_as<Dst>(self) -> Option<Dst>where
T: CheckedCast<Dst>,
fn checked_as<Dst>(self) -> Option<Dst>where
T: CheckedCast<Dst>,
Source§impl<Src, Dst> CheckedCastFrom<Src> for Dstwhere
Src: CheckedCast<Dst>,
impl<Src, Dst> CheckedCastFrom<Src> for Dstwhere
Src: CheckedCast<Dst>,
Source§fn checked_cast_from(src: Src) -> Option<Dst>
fn checked_cast_from(src: Src) -> Option<Dst>
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Conv for T
impl<T> Conv for T
§impl<T> FmtForward for T
impl<T> FmtForward for T
§fn fmt_binary(self) -> FmtBinary<Self>where
Self: Binary,
fn fmt_binary(self) -> FmtBinary<Self>where
Self: Binary,
self to use its Binary implementation when Debug-formatted.§fn fmt_display(self) -> FmtDisplay<Self>where
Self: Display,
fn fmt_display(self) -> FmtDisplay<Self>where
Self: Display,
self to use its Display implementation when
Debug-formatted.§fn fmt_lower_exp(self) -> FmtLowerExp<Self>where
Self: LowerExp,
fn fmt_lower_exp(self) -> FmtLowerExp<Self>where
Self: LowerExp,
self to use its LowerExp implementation when
Debug-formatted.§fn fmt_lower_hex(self) -> FmtLowerHex<Self>where
Self: LowerHex,
fn fmt_lower_hex(self) -> FmtLowerHex<Self>where
Self: LowerHex,
self to use its LowerHex implementation when
Debug-formatted.§fn fmt_octal(self) -> FmtOctal<Self>where
Self: Octal,
fn fmt_octal(self) -> FmtOctal<Self>where
Self: Octal,
self to use its Octal implementation when Debug-formatted.§fn fmt_pointer(self) -> FmtPointer<Self>where
Self: Pointer,
fn fmt_pointer(self) -> FmtPointer<Self>where
Self: Pointer,
self to use its Pointer implementation when
Debug-formatted.§fn fmt_upper_exp(self) -> FmtUpperExp<Self>where
Self: UpperExp,
fn fmt_upper_exp(self) -> FmtUpperExp<Self>where
Self: UpperExp,
self to use its UpperExp implementation when
Debug-formatted.§fn fmt_upper_hex(self) -> FmtUpperHex<Self>where
Self: UpperHex,
fn fmt_upper_hex(self) -> FmtUpperHex<Self>where
Self: UpperHex,
self to use its UpperHex implementation when
Debug-formatted.§fn fmt_list(self) -> FmtList<Self>where
&'a Self: for<'a> IntoIterator,
fn fmt_list(self) -> FmtList<Self>where
&'a Self: for<'a> IntoIterator,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§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>
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>
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 moreSource§impl<T> OverflowingAs for T
impl<T> OverflowingAs for T
Source§fn overflowing_as<Dst>(self) -> (Dst, bool)where
T: OverflowingCast<Dst>,
fn overflowing_as<Dst>(self) -> (Dst, bool)where
T: OverflowingCast<Dst>,
Source§impl<Src, Dst> OverflowingCastFrom<Src> for Dstwhere
Src: OverflowingCast<Dst>,
impl<Src, Dst> OverflowingCastFrom<Src> for Dstwhere
Src: OverflowingCast<Dst>,
Source§fn overflowing_cast_from(src: Src) -> (Dst, bool)
fn overflowing_cast_from(src: Src) -> (Dst, bool)
§impl<D> OwoColorize for D
impl<D> OwoColorize for D
§fn fg<C>(&self) -> FgColorDisplay<'_, C, Self>where
C: Color,
fn fg<C>(&self) -> FgColorDisplay<'_, C, Self>where
C: Color,
§fn bg<C>(&self) -> BgColorDisplay<'_, C, Self>where
C: Color,
fn bg<C>(&self) -> BgColorDisplay<'_, C, Self>where
C: Color,
§fn on_magenta(&self) -> BgColorDisplay<'_, Magenta, Self>
fn on_magenta(&self) -> BgColorDisplay<'_, Magenta, Self>
§fn default_color(&self) -> FgColorDisplay<'_, Default, Self>
fn default_color(&self) -> FgColorDisplay<'_, Default, Self>
§fn on_default_color(&self) -> BgColorDisplay<'_, Default, Self>
fn on_default_color(&self) -> BgColorDisplay<'_, Default, Self>
§fn bright_black(&self) -> FgColorDisplay<'_, BrightBlack, Self>
fn bright_black(&self) -> FgColorDisplay<'_, BrightBlack, Self>
§fn on_bright_black(&self) -> BgColorDisplay<'_, BrightBlack, Self>
fn on_bright_black(&self) -> BgColorDisplay<'_, BrightBlack, Self>
§fn bright_red(&self) -> FgColorDisplay<'_, BrightRed, Self>
fn bright_red(&self) -> FgColorDisplay<'_, BrightRed, Self>
§fn on_bright_red(&self) -> BgColorDisplay<'_, BrightRed, Self>
fn on_bright_red(&self) -> BgColorDisplay<'_, BrightRed, Self>
§fn bright_green(&self) -> FgColorDisplay<'_, BrightGreen, Self>
fn bright_green(&self) -> FgColorDisplay<'_, BrightGreen, Self>
§fn on_bright_green(&self) -> BgColorDisplay<'_, BrightGreen, Self>
fn on_bright_green(&self) -> BgColorDisplay<'_, BrightGreen, Self>
§fn bright_yellow(&self) -> FgColorDisplay<'_, BrightYellow, Self>
fn bright_yellow(&self) -> FgColorDisplay<'_, BrightYellow, Self>
§fn on_bright_yellow(&self) -> BgColorDisplay<'_, BrightYellow, Self>
fn on_bright_yellow(&self) -> BgColorDisplay<'_, BrightYellow, Self>
§fn bright_blue(&self) -> FgColorDisplay<'_, BrightBlue, Self>
fn bright_blue(&self) -> FgColorDisplay<'_, BrightBlue, Self>
§fn on_bright_blue(&self) -> BgColorDisplay<'_, BrightBlue, Self>
fn on_bright_blue(&self) -> BgColorDisplay<'_, BrightBlue, Self>
§fn bright_magenta(&self) -> FgColorDisplay<'_, BrightMagenta, Self>
fn bright_magenta(&self) -> FgColorDisplay<'_, BrightMagenta, Self>
§fn on_bright_magenta(&self) -> BgColorDisplay<'_, BrightMagenta, Self>
fn on_bright_magenta(&self) -> BgColorDisplay<'_, BrightMagenta, Self>
§fn bright_purple(&self) -> FgColorDisplay<'_, BrightMagenta, Self>
fn bright_purple(&self) -> FgColorDisplay<'_, BrightMagenta, Self>
§fn on_bright_purple(&self) -> BgColorDisplay<'_, BrightMagenta, Self>
fn on_bright_purple(&self) -> BgColorDisplay<'_, BrightMagenta, Self>
§fn bright_cyan(&self) -> FgColorDisplay<'_, BrightCyan, Self>
fn bright_cyan(&self) -> FgColorDisplay<'_, BrightCyan, Self>
§fn on_bright_cyan(&self) -> BgColorDisplay<'_, BrightCyan, Self>
fn on_bright_cyan(&self) -> BgColorDisplay<'_, BrightCyan, Self>
§fn bright_white(&self) -> FgColorDisplay<'_, BrightWhite, Self>
fn bright_white(&self) -> FgColorDisplay<'_, BrightWhite, Self>
§fn on_bright_white(&self) -> BgColorDisplay<'_, BrightWhite, Self>
fn on_bright_white(&self) -> BgColorDisplay<'_, BrightWhite, Self>
§fn blink_fast(&self) -> BlinkFastDisplay<'_, Self>
fn blink_fast(&self) -> BlinkFastDisplay<'_, Self>
§fn strikethrough(&self) -> StrikeThroughDisplay<'_, Self>
fn strikethrough(&self) -> StrikeThroughDisplay<'_, Self>
§fn color<Color>(&self, color: Color) -> FgDynColorDisplay<'_, Color, Self>where
Color: DynColor,
fn color<Color>(&self, color: Color) -> FgDynColorDisplay<'_, Color, Self>where
Color: DynColor,
OwoColorize::fg] or
a color-specific method, such as [OwoColorize::green], Read more§fn on_color<Color>(&self, color: Color) -> BgDynColorDisplay<'_, Color, Self>where
Color: DynColor,
fn on_color<Color>(&self, color: Color) -> BgDynColorDisplay<'_, Color, Self>where
Color: DynColor,
OwoColorize::bg] or
a color-specific method, such as [OwoColorize::on_yellow], Read more§fn fg_rgb<const R: u8, const G: u8, const B: u8>(
&self,
) -> FgColorDisplay<'_, CustomColor<R, G, B>, Self>
fn fg_rgb<const R: u8, const G: u8, const B: u8>( &self, ) -> FgColorDisplay<'_, CustomColor<R, G, B>, Self>
§fn bg_rgb<const R: u8, const G: u8, const B: u8>(
&self,
) -> BgColorDisplay<'_, CustomColor<R, G, B>, Self>
fn bg_rgb<const R: u8, const G: u8, const B: u8>( &self, ) -> BgColorDisplay<'_, CustomColor<R, G, B>, Self>
§fn truecolor(&self, r: u8, g: u8, b: u8) -> FgDynColorDisplay<'_, Rgb, Self>
fn truecolor(&self, r: u8, g: u8, b: u8) -> FgDynColorDisplay<'_, Rgb, Self>
§fn on_truecolor(&self, r: u8, g: u8, b: u8) -> BgDynColorDisplay<'_, Rgb, Self>
fn on_truecolor(&self, r: u8, g: u8, b: u8) -> BgDynColorDisplay<'_, Rgb, Self>
§impl<T> Pipe for Twhere
T: ?Sized,
impl<T> Pipe for Twhere
T: ?Sized,
§fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere
Self: Sized,
fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere
Self: Sized,
§fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> Rwhere
R: 'a,
fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> Rwhere
R: 'a,
self and passes that borrow into the pipe function. Read more§fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> Rwhere
R: 'a,
fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> Rwhere
R: 'a,
self and passes that borrow into the pipe function. Read more§fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> R
fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> R
§fn pipe_borrow_mut<'a, B, R>(
&'a mut self,
func: impl FnOnce(&'a mut B) -> R,
) -> R
fn pipe_borrow_mut<'a, B, R>( &'a mut self, func: impl FnOnce(&'a mut B) -> R, ) -> R
§fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> R
fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> R
self, then passes self.as_ref() into the pipe function.§fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> R
fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> R
self, then passes self.as_mut() into the pipe
function.§fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> R
fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> R
self, then passes self.deref() into the pipe function.§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<T> SaturatingAs for T
impl<T> SaturatingAs for T
Source§fn saturating_as<Dst>(self) -> Dstwhere
T: SaturatingCast<Dst>,
fn saturating_as<Dst>(self) -> Dstwhere
T: SaturatingCast<Dst>,
Source§impl<Src, Dst> SaturatingCastFrom<Src> for Dstwhere
Src: SaturatingCast<Dst>,
impl<Src, Dst> SaturatingCastFrom<Src> for Dstwhere
Src: SaturatingCast<Dst>,
Source§fn saturating_cast_from(src: Src) -> Dst
fn saturating_cast_from(src: Src) -> Dst
Source§impl<T> StrictAs for T
impl<T> StrictAs for T
Source§fn strict_as<Dst>(self) -> Dstwhere
T: StrictCast<Dst>,
fn strict_as<Dst>(self) -> Dstwhere
T: StrictCast<Dst>,
Source§impl<Src, Dst> StrictCastFrom<Src> for Dstwhere
Src: StrictCast<Dst>,
impl<Src, Dst> StrictCastFrom<Src> for Dstwhere
Src: StrictCast<Dst>,
Source§fn strict_cast_from(src: Src) -> Dst
fn strict_cast_from(src: Src) -> Dst
§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
self from the equivalent element of its
superset. Read more§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
self is actually part of its subset T (and can be converted to it).§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
self.to_subset but without any property checks. Always succeeds.§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
self to the equivalent element of its superset.§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
self from the equivalent element of its
superset. Read more§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
self is actually part of its subset T (and can be converted to it).§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
self.to_subset but without any property checks. Always succeeds.§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
self to the equivalent element of its superset.§impl<T> Tap for T
impl<T> Tap for T
§fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Self
fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Self
Borrow<B> of a value. Read more§fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Self
fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Self
BorrowMut<B> of a value. Read more§fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Self
fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Self
AsRef<R> view of a value. Read more§fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Self
fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Self
AsMut<R> view of a value. Read more§fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Self
fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Self
Deref::Target of a value. Read more§fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Self
fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Self
Deref::Target of a value. Read more§fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self
fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self
.tap() only in debug builds, and is erased in release builds.§fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self
fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self
.tap_mut() only in debug builds, and is erased in release
builds.§fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Self
fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Self
.tap_borrow() only in debug builds, and is erased in release
builds.§fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Self
fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Self
.tap_borrow_mut() only in debug builds, and is erased in release
builds.§fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Self
fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Self
.tap_ref() only in debug builds, and is erased in release
builds.§fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Self
fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Self
.tap_ref_mut() only in debug builds, and is erased in release
builds.§fn tap_deref_dbg<T>(self, func: impl FnOnce(&T)) -> Self
fn tap_deref_dbg<T>(self, func: impl FnOnce(&T)) -> Self
.tap_deref() only in debug builds, and is erased in release
builds.