pub struct NodeJsChunkingContext { /* private fields */ }Expand description
A chunking context for build mode.
Implementations§
Source§impl NodeJsChunkingContext
impl NodeJsChunkingContext
Sourcepub fn builder(
root_path: FileSystemPath,
output_root: FileSystemPath,
output_root_to_root_path: RcStr,
client_root: FileSystemPath,
chunk_root_path: FileSystemPath,
asset_root_path: FileSystemPath,
environment: ResolvedVc<Environment>,
runtime_type: RuntimeType,
) -> NodeJsChunkingContextBuilder
pub fn builder( root_path: FileSystemPath, output_root: FileSystemPath, output_root_to_root_path: RcStr, client_root: FileSystemPath, chunk_root_path: FileSystemPath, asset_root_path: FileSystemPath, environment: ResolvedVc<Environment>, runtime_type: RuntimeType, ) -> NodeJsChunkingContextBuilder
Creates a new chunking context builder.
Source§impl NodeJsChunkingContext
impl NodeJsChunkingContext
Sourcepub fn runtime_type(self: Vc<Self>) -> Vc<RuntimeType>
pub fn runtime_type(self: Vc<Self>) -> Vc<RuntimeType>
Returns the kind of runtime to include in output chunks.
This is defined directly on NodeJsChunkingContext so it is zero-cost
when RuntimeType has a single variant.
Sourcepub fn minify_type(self: Vc<Self>) -> Vc<MinifyType>
pub fn minify_type(self: Vc<Self>) -> Vc<MinifyType>
Returns the minify type.
pub fn hash_salt(self: Vc<Self>) -> Vc<RcStr>
pub fn asset_prefix(self: Vc<Self>) -> Vc<Option<RcStr>>
Sourcepub fn server_hmr_chunk_list(
self: Vc<Self>,
path: FileSystemPath,
chunks: Vc<OutputAssets>,
) -> Vc<Box<dyn OutputAsset>>
pub fn server_hmr_chunk_list( self: Vc<Self>, path: FileSystemPath, chunks: Vc<OutputAssets>, ) -> Vc<Box<dyn OutputAsset>>
Creates a standalone server-HMR tracking anchor at path covering
chunks, without producing an evaluate chunk.
Unlike the browser’s hmr_chunk_list, the caller supplies an explicit
output path so the anchor can be placed alongside the App Router
entries it belongs to (under server/app/). This is what lets the
aggregate server-HMR subscription scope tracking to App Router: the
anchor for client-component SSR chunks (which are physically emitted
under the shared server/chunks/ssr/) is registered under the app
entry’s directory so it rides the same App Router scope.
Whether the runtime chunk is shared with other module graphs using this context, meaning no
single graph may decide which optional runtime features to omit.
See NodeJsChunkingContextBuilder::shared_runtime_chunk.
Trait Implementations§
Source§impl<'__de, __Context> BorrowDecode<'__de, __Context> for NodeJsChunkingContext
impl<'__de, __Context> BorrowDecode<'__de, __Context> for NodeJsChunkingContext
Source§fn borrow_decode<__D: BorrowDecoder<'__de, Context = __Context>>(
decoder: &mut __D,
) -> Result<Self, DecodeError>
fn borrow_decode<__D: BorrowDecoder<'__de, Context = __Context>>( decoder: &mut __D, ) -> Result<Self, DecodeError>
Source§impl ChunkingContext for NodeJsChunkingContext
impl ChunkingContext for NodeJsChunkingContext
fn name(self: Vc<Self>) -> Vc<RcStr>
Source§fn output_root(self: Vc<Self>) -> Vc<FileSystemPath>
fn output_root(self: Vc<Self>) -> Vc<FileSystemPath>
Source§fn output_root_to_root_path(self: Vc<Self>) -> Vc<RcStr>
fn output_root_to_root_path(self: Vc<Self>) -> Vc<RcStr>
fn environment(self: Vc<Self>) -> Vc<Environment>
Source§fn is_nested_async_availability_enabled(self: Vc<Self>) -> Vc<bool>
fn is_nested_async_availability_enabled(self: Vc<Self>) -> Vc<bool>
Source§fn is_module_merging_enabled(self: Vc<Self>) -> Vc<bool>
fn is_module_merging_enabled(self: Vc<Self>) -> Vc<bool>
MergeableModule to merge modules if possible.Source§fn is_dynamic_chunk_content_loading_enabled(self: Vc<Self>) -> Vc<bool>
fn is_dynamic_chunk_content_loading_enabled(self: Vc<Self>) -> Vc<bool>
fn minify_type(self: Vc<Self>) -> Vc<MinifyType>
Source§fn asset_url(
self: Vc<Self>,
ident: FileSystemPath,
tag: Option<RcStr>,
) -> Vc<RcStr>
fn asset_url( self: Vc<Self>, ident: FileSystemPath, tag: Option<RcStr>, ) -> Vc<RcStr>
ident.
The tag is an arbitrary string that can be used to distinguish
different usages of the same asset (e.g. different base paths).Source§fn chunk_root_path(self: Vc<Self>) -> Vc<FileSystemPath>
fn chunk_root_path(self: Vc<Self>) -> Vc<FileSystemPath>
fn chunk_path( self: Vc<Self>, _asset: Option<Vc<Box<dyn Asset>>>, ident: Vc<AssetIdent>, prefix: Option<RcStr>, extension: RcStr, ) -> Vc<FileSystemPath>
Source§fn reference_chunk_source_maps(
self: Vc<Self>,
_chunk: Vc<Box<dyn OutputAsset>>,
) -> Vc<bool>
fn reference_chunk_source_maps( self: Vc<Self>, _chunk: Vc<Box<dyn OutputAsset>>, ) -> Vc<bool>
Source§fn reference_module_source_maps(
self: Vc<Self>,
_module: Vc<Box<dyn Module>>,
) -> Vc<bool>
fn reference_module_source_maps( self: Vc<Self>, _module: Vc<Box<dyn Module>>, ) -> Vc<bool>
fn source_map_source_type(self: Vc<Self>) -> Vc<SourceMapSourceType>
fn chunking_configs(self: Vc<Self>) -> Vc<ChunkingConfigs>
fn asset_path( self: Vc<Self>, content: Vc<AssetContent>, original_asset_ident: Vc<AssetIdent>, tag: Option<RcStr>, ) -> Vc<FileSystemPath>
Source§fn url_behavior(self: Vc<Self>, tag: Option<RcStr>) -> Vc<UrlBehavior>
fn url_behavior(self: Vc<Self>, tag: Option<RcStr>) -> Vc<UrlBehavior>
fn chunk_group( self: Vc<Self>, ident: Vc<AssetIdent>, chunk_group: ChunkGroup, module_graph: Vc<ModuleGraph>, availability_info: AvailabilityInfo, ) -> Vc<ChunkGroupResult>
Source§fn entry_chunk_group(
self: Vc<Self>,
path: FileSystemPath,
chunk_group: ChunkGroup,
module_graph: Vc<ModuleGraph>,
extra_chunks: Vc<OutputAssets>,
extra_referenced_assets: Vc<OutputAssets>,
availability_info: AvailabilityInfo,
) -> Vc<EntryChunkGroupResult>
fn entry_chunk_group( self: Vc<Self>, path: FileSystemPath, chunk_group: ChunkGroup, module_graph: Vc<ModuleGraph>, extra_chunks: Vc<OutputAssets>, extra_referenced_assets: Vc<OutputAssets>, availability_info: AvailabilityInfo, ) -> Vc<EntryChunkGroupResult>
Source§fn evaluated_chunk_group(
self: Vc<Self>,
_ident: Vc<AssetIdent>,
_chunk_group: ChunkGroup,
_module_graph: Vc<ModuleGraph>,
_extra_chunks: Vc<OutputAssets>,
_availability_info: AvailabilityInfo,
) -> Vc<ChunkGroupResult>
fn evaluated_chunk_group( self: Vc<Self>, _ident: Vc<AssetIdent>, _chunk_group: ChunkGroup, _module_graph: Vc<ModuleGraph>, _extra_chunks: Vc<OutputAssets>, _availability_info: AvailabilityInfo, ) -> Vc<ChunkGroupResult>
Self::chunk_group], but additionally produces an evaluate chunk
(and, in dev, a chunk-list register chunk) that bootstraps and runs
chunk_group’s entries. Read morefn chunk_item_id_strategy(self: Vc<Self>) -> Vc<ModuleIdStrategy>
fn async_loader_chunk_item( self: Vc<Self>, module: Vc<Box<dyn ChunkableModule>>, module_graph: Vc<ModuleGraph>, availability_info: AvailabilityInfo, ) -> Vc<Box<dyn ChunkItem>>
fn async_loader_chunk_item_ident( self: Vc<Self>, module: Vc<Box<dyn ChunkableModule>>, ) -> Vc<AssetIdent>
fn module_export_usage( self: Vc<Self>, module: Vc<Box<dyn Module>>, ) -> Vc<ModuleExportUsage>
fn unused_references(self: Vc<Self>) -> Vc<UnusedReferences>
Source§fn debug_ids_enabled(self: Vc<Self>) -> Vc<bool>
fn debug_ids_enabled(self: Vc<Self>) -> Vc<bool>
Source§fn worker_configuration_options(
self: Vc<Self>,
) -> Vc<WorkerConfigurationOptions>
fn worker_configuration_options( self: Vc<Self>, ) -> Vc<WorkerConfigurationOptions>
fn chunk_loading(self: Vc<Self>) -> Vc<ChunkLoading>where
Self: Sized,
fn service_worker_scope_base_path(self: Vc<Self>) -> Vc<RcStr>where
Self: Sized,
fn batching_config(self: Vc<Self>) -> Vc<BatchingConfig>where
Self: Sized,
fn should_use_absolute_url_references(self: Vc<Self>) -> Vc<bool>where
Self: Sized,
§fn hmr_chunk_list(
self: Vc<Self>,
_ident: Vc<AssetIdent>,
_chunks: Vc<OutputAssets>,
) -> Vc<OutputAssets>where
Self: Sized,
fn hmr_chunk_list(
self: Vc<Self>,
_ident: Vc<AssetIdent>,
_chunks: Vc<OutputAssets>,
) -> Vc<OutputAssets>where
Self: Sized,
chunks for hot-module-replacement without producing an
evaluate chunk. Returns None (empty vec) outside dev or when HMR is
disabled. Used to register a page-specific chunk list that covers
client-reference chunks built outside the shared module graph.§fn worker_entrypoint(self: Vc<Self>) -> Vc<Box<dyn OutputAsset>>where
Self: Sized,
fn worker_entrypoint(self: Vc<Self>) -> Vc<Box<dyn OutputAsset>>where
Self: Sized,
Source§impl Clone for NodeJsChunkingContext
impl Clone for NodeJsChunkingContext
Source§fn clone(&self) -> NodeJsChunkingContext
fn clone(&self) -> NodeJsChunkingContext
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for NodeJsChunkingContext
impl Debug for NodeJsChunkingContext
Source§impl<__Context> Decode<__Context> for NodeJsChunkingContext
impl<__Context> Decode<__Context> for NodeJsChunkingContext
Source§impl Encode for NodeJsChunkingContext
impl Encode for NodeJsChunkingContext
impl Eq for NodeJsChunkingContext
impl NonLocalValue for NodeJsChunkingContext
Source§impl PartialEq for NodeJsChunkingContext
impl PartialEq for NodeJsChunkingContext
Source§impl ShrinkToFit for NodeJsChunkingContext
impl ShrinkToFit for NodeJsChunkingContext
fn shrink_to_fit(&mut self)
impl StructuralPartialEq for NodeJsChunkingContext
Source§impl TraceRawVcs for NodeJsChunkingContext
impl TraceRawVcs for NodeJsChunkingContext
fn trace_raw_vcs(&self, __context__: &mut TraceRawVcsContext)
fn get_raw_vcs(&self) -> Vec<RawVc>
impl Upcast<Box<dyn ChunkingContext>> for NodeJsChunkingContext
impl Upcast<Box<dyn ValueDebug>> for NodeJsChunkingContext
impl UpcastStrict<Box<dyn ChunkingContext>> for NodeJsChunkingContext
impl UpcastStrict<Box<dyn ValueDebug>> for NodeJsChunkingContext
Source§impl ValueDebug for NodeJsChunkingContext
impl ValueDebug for NodeJsChunkingContext
Source§impl ValueDebugFormat for NodeJsChunkingContext
Available on debug-assertions enabled only.
impl ValueDebugFormat for NodeJsChunkingContext
fn value_debug_format<'a>(&'a self, depth: usize) -> ValueDebugFormatString<'a>
Source§impl VcValueType for NodeJsChunkingContext
impl VcValueType for NodeJsChunkingContext
Source§type Read = VcDefaultRead<NodeJsChunkingContext>
type Read = VcDefaultRead<NodeJsChunkingContext>
Source§type CellMode = VcCellCompareMode<NodeJsChunkingContext>
type CellMode = VcCellCompareMode<NodeJsChunkingContext>
Source§fn get_value_type_id() -> ValueTypeId
fn get_value_type_id() -> ValueTypeId
fn has_serialization() -> bool
Auto Trait Implementations§
impl !RefUnwindSafe for NodeJsChunkingContext
impl !UnwindSafe for NodeJsChunkingContext
impl Freeze for NodeJsChunkingContext
impl Send for NodeJsChunkingContext
impl Sync for NodeJsChunkingContext
impl Unpin for NodeJsChunkingContext
impl UnsafeUnpin for NodeJsChunkingContext
Blanket Implementations§
§impl<T> ArchivePointee for T
impl<T> ArchivePointee for T
§type ArchivedMetadata = ()
type ArchivedMetadata = ()
§fn pointer_metadata(
_: &<T as ArchivePointee>::ArchivedMetadata,
) -> <T as Pointee>::Metadata
fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata
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
§impl<T> ChunkingContextExt for T
impl<T> ChunkingContextExt for T
fn root_chunk_group( self: Vc<T>, ident: Vc<AssetIdent>, chunk_group: ChunkGroup, module_graph: Vc<ModuleGraph>, ) -> Vc<ChunkGroupResult>
fn root_chunk_group_assets( self: Vc<T>, ident: Vc<AssetIdent>, chunk_group: ChunkGroup, module_graph: Vc<ModuleGraph>, ) -> Vc<OutputAssetsWithReferenced>
fn evaluated_chunk_group_assets( self: Vc<T>, ident: Vc<AssetIdent>, chunk_group: ChunkGroup, module_graph: Vc<ModuleGraph>, extra_chunks: Vc<OutputAssets>, availability_info: AvailabilityInfo, ) -> Vc<OutputAssetsWithReferenced>
fn entry_chunk_group_asset( self: Vc<T>, path: FileSystemPath, chunk_group: ChunkGroup, module_graph: Vc<ModuleGraph>, extra_chunks: Vc<OutputAssets>, extra_referenced_assets: Vc<OutputAssets>, availability_info: AvailabilityInfo, ) -> Vc<Box<dyn OutputAsset>>
fn root_entry_chunk_group( self: Vc<T>, path: FileSystemPath, chunk_group: ChunkGroup, module_graph: Vc<ModuleGraph>, extra_chunks: Vc<OutputAssets>, extra_referenced_assets: Vc<OutputAssets>, ) -> Vc<EntryChunkGroupResult>
fn root_entry_chunk_group_asset( self: Vc<T>, path: FileSystemPath, chunk_group: ChunkGroup, module_graph: Vc<ModuleGraph>, extra_chunks: Vc<OutputAssets>, extra_referenced_assets: Vc<OutputAssets>, ) -> Vc<Box<dyn OutputAsset>>
fn chunk_group_assets( self: Vc<T>, ident: Vc<AssetIdent>, chunk_group: ChunkGroup, module_graph: Vc<ModuleGraph>, availability_info: AvailabilityInfo, ) -> Vc<OutputAssetsWithReferenced>
§fn relative_path_from_chunk_root_to_project_root(self: Vc<T>) -> Vc<RcStr>
fn relative_path_from_chunk_root_to_project_root(self: Vc<T>) -> Vc<RcStr>
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<F, W, T, D> Deserialize<With<T, W>, D> for F
impl<F, W, T, D> Deserialize<With<T, W>, D> for F
§fn deserialize(
&self,
deserializer: &mut D,
) -> Result<With<T, W>, <D as Fallible>::Error>
fn deserialize( &self, deserializer: &mut D, ) -> Result<With<T, W>, <D as Fallible>::Error>
impl<T> DynEq for T
§impl<T> DynPartialEq for T
impl<T> DynPartialEq for T
fn dyn_partial_eq(&self, other: &(dyn Any + 'static)) -> bool
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.impl<T> ErasedDestructor for Twhere
T: 'static,
§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> ImplicitClone for Twhere
T: Clone,
impl<T> ImplicitClone for Twhere
T: Clone,
fn clone_quote_var(&self) -> Self
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> 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 moreimpl<T> MaybeSendSync for T
§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
§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.