pub struct LmbMultiChannelingSetup {
pub lmb_basis_ids: TiVec<SamplingChannelId, LmbIndex>,
pub graph: Graph,
pub all_bases: TiVec<LmbIndex, LoopMomentumBasis>,
/* private fields */
}Expand description
Helper struct for the LMB multi-channeling setup
Fields§
§lmb_basis_ids: TiVec<SamplingChannelId, LmbIndex>§graph: GraphCanonical group-master graph used to resolve group-level channel overrides.
all_bases: TiVec<LmbIndex, LoopMomentumBasis>Implementations§
Source§impl LmbMultiChannelingSetup
impl LmbMultiChannelingSetup
Sourcepub fn sampling_bridge<T: FloatLike>(&self) -> Result<&SamplingChannelBridge<T>>
pub fn sampling_bridge<T: FloatLike>(&self) -> Result<&SamplingChannelBridge<T>>
Borrow the bridge compiled in the current successful warmup epoch, or replay that precision’s cached numerical failure into the stability loop. Explicit constructors remain fresh and never populate this runtime cache.
Sourcepub fn sampling_channel_catalogue(
&self,
resolved: &ResolvedSamplingChannelSelection,
parameterization_settings: &ParameterizationSettings,
) -> Result<SamplingChannelCatalogue>
pub fn sampling_channel_catalogue( &self, resolved: &ResolvedSamplingChannelSelection, parameterization_settings: &ParameterizationSettings, ) -> Result<SamplingChannelCatalogue>
Expand a graph-resolved selection into the canonical catalogue used by inspection and map construction. Resolve with the actual graph name before invoking this method (the setup may be shared by a graph group).
Sourcepub fn inspect_sampling_channels(
&self,
resolved: &ResolvedSamplingChannelSelection,
parameterization_settings: &ParameterizationSettings,
) -> Result<SamplingChannelInspection>
pub fn inspect_sampling_channels( &self, resolved: &ResolvedSamplingChannelSelection, parameterization_settings: &ParameterizationSettings, ) -> Result<SamplingChannelInspection>
Resolve the canonical catalogue and return its read-only inspection view. This is useful to CLI/Python diagnostics and intentionally does not compile maps, prepare kinematics, or enumerate a second channel domain.
Sourcepub fn sampling_channel_coverage_report(
&self,
resolved: &ResolvedSamplingChannelSelection,
parameterization_settings: &ParameterizationSettings,
) -> Result<SamplingCoverageReport>
pub fn sampling_channel_coverage_report( &self, resolved: &ResolvedSamplingChannelSelection, parameterization_settings: &ParameterizationSettings, ) -> Result<SamplingCoverageReport>
Report the conservative full-domain and elementary soft coverage of the canonical catalogue. This is an inspection operation only: it does not discover physical E-surfaces or construct a second channel enumeration.
Sourcepub fn sampling_channel_catalogue_with_surfaces(
&self,
resolved: &ResolvedSamplingChannelSelection,
parameterization_settings: &ParameterizationSettings,
surface_edges: &[Vec<usize>],
) -> Result<SamplingChannelCatalogue>
pub fn sampling_channel_catalogue_with_surfaces( &self, resolved: &ResolvedSamplingChannelSelection, parameterization_settings: &ParameterizationSettings, surface_edges: &[Vec<usize>], ) -> Result<SamplingChannelCatalogue>
Resolve the same selection while supplying E-surface candidates already enumerated in the master graph frame. Surface existence and geometry are still prepared per cut/orientation before compilation.
Sourcepub fn compile_sampling_channels<T: FloatLike>(
&self,
catalogue: &SamplingChannelCatalogue,
programs: &[(Option<SamplingExpressionEvaluator>, Option<SamplingExpressionEvaluator>, Option<SamplingExpressionEvaluator>)],
context: &SamplingChannelCompileContext<T>,
) -> Result<Vec<CompiledSamplingChannel<T>>>
pub fn compile_sampling_channels<T: FloatLike>( &self, catalogue: &SamplingChannelCatalogue, programs: &[(Option<SamplingExpressionEvaluator>, Option<SamplingExpressionEvaluator>, Option<SamplingExpressionEvaluator>)], context: &SamplingChannelCompileContext<T>, ) -> Result<Vec<CompiledSamplingChannel<T>>>
Compile the selected catalogue against prepared master-graph
kinematics. The context binds each surface’s native equation and frame;
any cut/side centers, radii and t* are prepared from its declared prior
blocks inside the compiled map. This rejects missing or stale physical
prerequisites before a mapped sample reaches the graph evaluator.
Sourcepub fn compile_sampling_channels_with_external<T: FloatLike>(
&self,
catalogue: &SamplingChannelCatalogue,
programs: &[(Option<SamplingExpressionEvaluator>, Option<SamplingExpressionEvaluator>, Option<SamplingExpressionEvaluator>)],
context: &SamplingChannelCompileContext<T>,
external_momenta: &[[T; 4]],
) -> Result<Vec<CompiledSamplingChannel<T>>>
pub fn compile_sampling_channels_with_external<T: FloatLike>( &self, catalogue: &SamplingChannelCatalogue, programs: &[(Option<SamplingExpressionEvaluator>, Option<SamplingExpressionEvaluator>, Option<SamplingExpressionEvaluator>)], context: &SamplingChannelCompileContext<T>, external_momenta: &[[T; 4]], ) -> Result<Vec<CompiledSamplingChannel<T>>>
Compile channels after preparing the external data needed by every selected-LMB-to-parent affine routing. This is the required entry point when a channel catalogue contains more than the parent LMB; callers must pass external data from the same solved cut/orientation context as the map geometry.
Sourcepub fn compile_sampling_channel_bridge<T: FloatLike>(
&self,
catalogue: &SamplingChannelCatalogue,
programs: &[(Option<SamplingExpressionEvaluator>, Option<SamplingExpressionEvaluator>, Option<SamplingExpressionEvaluator>)],
context: &SamplingChannelCompileContext<T>,
) -> Result<SamplingChannelBridge<T>>
pub fn compile_sampling_channel_bridge<T: FloatLike>( &self, catalogue: &SamplingChannelCatalogue, programs: &[(Option<SamplingExpressionEvaluator>, Option<SamplingExpressionEvaluator>, Option<SamplingExpressionEvaluator>)], context: &SamplingChannelCompileContext<T>, ) -> Result<SamplingChannelBridge<T>>
Compile the selected channels and bind them to the raw-frame bridge. The process sampler supplies the prepared frame and external data.
Sourcepub fn compile_sampling_channel_bridge_with_external<T: FloatLike>(
&self,
catalogue: &SamplingChannelCatalogue,
programs: &[(Option<SamplingExpressionEvaluator>, Option<SamplingExpressionEvaluator>, Option<SamplingExpressionEvaluator>)],
context: &SamplingChannelCompileContext<T>,
external_momenta: &[[T; 4]],
) -> Result<SamplingChannelBridge<T>>
pub fn compile_sampling_channel_bridge_with_external<T: FloatLike>( &self, catalogue: &SamplingChannelCatalogue, programs: &[(Option<SamplingExpressionEvaluator>, Option<SamplingExpressionEvaluator>, Option<SamplingExpressionEvaluator>)], context: &SamplingChannelCompileContext<T>, external_momenta: &[[T; 4]], ) -> Result<SamplingChannelBridge<T>>
External-data variant of Self::compile_sampling_channel_bridge.
Sourcepub fn canonical_sampling_catalogue(
&self,
graph_name: &str,
parameterization_settings: &ParameterizationSettings,
) -> Result<SamplingChannelCatalogue>
pub fn canonical_sampling_catalogue( &self, graph_name: &str, parameterization_settings: &ParameterizationSettings, ) -> Result<SamplingChannelCatalogue>
Build the one canonical catalogue used by all channel-count and LMB lookup helpers during the runtime migration. The old generated basis list is only input data for this catalogue; it is never enumerated as a second channel universe.
Sourcepub fn sampling_channel_ids(
&self,
graph_name: &str,
parameterization_settings: &ParameterizationSettings,
) -> Result<Vec<SamplingChannelId>>
pub fn sampling_channel_ids( &self, graph_name: &str, parameterization_settings: &ParameterizationSettings, ) -> Result<Vec<SamplingChannelId>>
Return the stable IDs from the one canonical catalogue.
pub fn sampling_channel_label( &self, channel_id: SamplingChannelId, graph_name: &str, parameterization_settings: &ParameterizationSettings, ) -> Result<String>
pub fn sampling_channel_is_lmb( &self, channel_id: SamplingChannelId, graph_name: &str, parameterization_settings: &ParameterizationSettings, ) -> Result<bool>
Sourcepub fn sampling_channel_lmb_id(
&self,
channel_id: SamplingChannelId,
graph_name: &str,
parameterization_settings: &ParameterizationSettings,
) -> Result<Option<LmbIndex>>
pub fn sampling_channel_lmb_id( &self, channel_id: SamplingChannelId, graph_name: &str, parameterization_settings: &ParameterizationSettings, ) -> Result<Option<LmbIndex>>
Return the generated LMB behind a canonical channel when that channel is an LMB entry. Graph-aware channels intentionally have no LMB index; callers that only expose LMB metadata can skip those entries without creating a second channel enumeration.
Sourcepub fn sampling_channel_lmb_basis_id(
&self,
channel_id: SamplingChannelId,
graph_name: &str,
parameterization_settings: &ParameterizationSettings,
) -> Result<LmbIndex>
pub fn sampling_channel_lmb_basis_id( &self, channel_id: SamplingChannelId, graph_name: &str, parameterization_settings: &ParameterizationSettings, ) -> Result<LmbIndex>
Resolve a canonical sampling channel to its generated LMB basis.
This strict accessor is intentionally named in terms of the canonical sampling catalogue. It is only valid for channels whose map is an LMB; graph-aware channels must be evaluated through the sampling bridge.
pub fn sampling_channel_edge_ids( &self, channel_id: SamplingChannelId, graph_name: &str, parameterization_settings: &ParameterizationSettings, ) -> Result<SmallVec<[usize; 4]>>
pub fn selected_lmb_basis_id( &self, graph_name: &str, parameterization_settings: &ParameterizationSettings, ) -> Result<LmbIndex>
Sourcepub fn lmb_frame_map<T: FloatLike>(
&self,
channel_lmb: &LoopMomentumBasis,
external_momenta: &[[T; 4]],
) -> Result<SamplingMapAffine<T>>
pub fn lmb_frame_map<T: FloatLike>( &self, channel_lmb: &LoopMomentumBasis, external_momenta: &[[T; 4]], ) -> Result<SamplingMapAffine<T>>
Build the exact affine routing from one generated LMB into this setup’s parent loop frame. The integer edge signatures provide the linear block matrix; the supplied external momenta provide its translation. Keeping this operation on the graph-aware setup ensures that a compiled channel never mistakes selected-LMB coordinates for parent-frame coordinates.
Trait Implementations§
Source§impl Clone for LmbMultiChannelingSetup
impl Clone for LmbMultiChannelingSetup
Source§fn clone(&self) -> LmbMultiChannelingSetup
fn clone(&self) -> LmbMultiChannelingSetup
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 LmbMultiChannelingSetupwhere
__Context: GammaLoopContext,
impl<__Context> Decode<__Context> for LmbMultiChannelingSetupwhere
__Context: GammaLoopContext,
Auto Trait Implementations§
impl !RefUnwindSafe for LmbMultiChannelingSetup
impl !UnwindSafe for LmbMultiChannelingSetup
impl Freeze for LmbMultiChannelingSetup
impl Send for LmbMultiChannelingSetup
impl Sync for LmbMultiChannelingSetup
impl Unpin for LmbMultiChannelingSetup
impl UnsafeUnpin for LmbMultiChannelingSetup
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.