pub struct BrowserChunkingContext { /* private fields */ }Expand description
A chunking context for development mode.
It uses readable filenames and module ids to improve development. It also uses a chunking heuristic that is incremental and cacheable. It splits “node_modules” separately as these are less likely to change during development
Implementations§
Source§impl BrowserChunkingContext
impl BrowserChunkingContext
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, ) -> BrowserChunkingContextBuilder
Source§impl BrowserChunkingContext
impl BrowserChunkingContext
pub fn current_chunk_method(self: Vc<Self>) -> Vc<CurrentChunkMethod>
pub fn hash_salt(self: Vc<Self>) -> Vc<RcStr>
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 BrowserChunkingContext so it is zero-cost
when RuntimeType has a single variant.
Sourcepub fn worker_asset_prefix(self: Vc<Self>) -> Vc<Option<RcStr>>
pub fn worker_asset_prefix(self: Vc<Self>) -> Vc<Option<RcStr>>
Returns the worker base-path override. When Some, takes precedence
over chunk_base_path for the entrypoint URL and the module chunks
loaded inside the worker.
Sourcepub fn asset_suffix(self: Vc<Self>) -> Vc<AssetSuffix>
pub fn asset_suffix(self: Vc<Self>) -> Vc<AssetSuffix>
Returns the asset suffix path.
Sourcepub fn source_maps_type(self: Vc<Self>) -> Vc<SourceMapsType>
pub fn source_maps_type(self: Vc<Self>) -> Vc<SourceMapsType>
Returns the source map type.
Sourcepub fn minify_type(self: Vc<Self>) -> Vc<MinifyType>
pub fn minify_type(self: Vc<Self>) -> Vc<MinifyType>
Returns the minify type.
Sourcepub fn chunk_loading_global(self: Vc<Self>) -> Vc<RcStr>
pub fn chunk_loading_global(self: Vc<Self>) -> Vc<RcStr>
Returns the chunk loading global variable name. Defaults to “TURBOPACK” if not set.
pub fn cross_origin(self: Vc<Self>) -> Vc<CrossOrigin>
Trait Implementations§
Source§impl<'__de, __Context> BorrowDecode<'__de, __Context> for BrowserChunkingContext
impl<'__de, __Context> BorrowDecode<'__de, __Context> for BrowserChunkingContext
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 BrowserChunkingContext
impl ChunkingContext for BrowserChunkingContext
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 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 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 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 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 chunking_configs(self: Vc<Self>) -> Vc<ChunkingConfigs>
fn source_map_source_type(self: Vc<Self>) -> Vc<SourceMapSourceType>
Source§fn is_tracing_enabled(self: Vc<Self>) -> Vc<bool>
fn is_tracing_enabled(self: Vc<Self>) -> Vc<bool>
ChunkingType::Traced are used to create corresponding output assets for each
traced module.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>
fn should_use_absolute_url_references(self: Vc<Self>) -> Vc<bool>
fn chunk_group( self: Vc<Self>, ident: Vc<AssetIdent>, chunk_group: ChunkGroup, module_graph: Vc<ModuleGraph>, availability_info: AvailabilityInfo, ) -> Vc<ChunkGroupResult>
fn evaluated_chunk_group( self: Vc<Self>, ident: Vc<AssetIdent>, chunk_group: ChunkGroup, module_graph: Vc<ModuleGraph>, input_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>
fn 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_forwarded_globals(self: Vc<Self>) -> Vc<Vec<RcStr>>
fn worker_forwarded_globals(self: Vc<Self>) -> Vc<Vec<RcStr>>
Source§fn worker_entrypoint(self: Vc<Self>) -> Vc<Box<dyn OutputAsset>>
fn worker_entrypoint(self: Vc<Self>) -> Vc<Box<dyn OutputAsset>>
fn batching_config(self: Vc<Self>) -> Vc<BatchingConfig>where
Self: Sized,
Source§impl Clone for BrowserChunkingContext
impl Clone for BrowserChunkingContext
Source§fn clone(&self) -> BrowserChunkingContext
fn clone(&self) -> BrowserChunkingContext
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for BrowserChunkingContext
impl Debug for BrowserChunkingContext
Source§impl<__Context> Decode<__Context> for BrowserChunkingContext
impl<__Context> Decode<__Context> for BrowserChunkingContext
Source§impl Encode for BrowserChunkingContext
impl Encode for BrowserChunkingContext
Source§impl PartialEq for BrowserChunkingContext
impl PartialEq for BrowserChunkingContext
Source§impl ShrinkToFit for BrowserChunkingContext
impl ShrinkToFit for BrowserChunkingContext
fn shrink_to_fit(&mut self)
Source§impl TraceRawVcs for BrowserChunkingContext
impl TraceRawVcs for BrowserChunkingContext
fn trace_raw_vcs(&self, __context__: &mut TraceRawVcsContext)
fn get_raw_vcs(&self) -> Vec<RawVc>
Source§impl ValueDebug for BrowserChunkingContext
impl ValueDebug for BrowserChunkingContext
Source§impl ValueDebugFormat for BrowserChunkingContext
Available on debug-assertions enabled only.
impl ValueDebugFormat for BrowserChunkingContext
fn value_debug_format<'a>(&'a self, depth: usize) -> ValueDebugFormatString<'a>
Source§impl VcValueType for BrowserChunkingContext
impl VcValueType for BrowserChunkingContext
Source§type Read = VcDefaultRead<BrowserChunkingContext>
type Read = VcDefaultRead<BrowserChunkingContext>
Source§type CellMode = VcCellCompareMode<BrowserChunkingContext>
type CellMode = VcCellCompareMode<BrowserChunkingContext>
Source§fn get_value_type_id() -> ValueTypeId
fn get_value_type_id() -> ValueTypeId
fn has_serialization() -> bool
impl Eq for BrowserChunkingContext
impl NonLocalValue for BrowserChunkingContext
impl StructuralPartialEq for BrowserChunkingContext
impl Upcast<Box<dyn ChunkingContext>> for BrowserChunkingContext
impl Upcast<Box<dyn ValueDebug>> for BrowserChunkingContext
impl UpcastStrict<Box<dyn ChunkingContext>> for BrowserChunkingContext
impl UpcastStrict<Box<dyn ValueDebug>> for BrowserChunkingContext
Auto Trait Implementations§
impl Freeze for BrowserChunkingContext
impl !RefUnwindSafe for BrowserChunkingContext
impl Send for BrowserChunkingContext
impl Sync for BrowserChunkingContext
impl Unpin for BrowserChunkingContext
impl UnsafeUnpin for BrowserChunkingContext
impl !UnwindSafe for BrowserChunkingContext
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
§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
Source§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>, 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>
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> 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> 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>
§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 more§impl<T> LayoutRaw for T
impl<T> LayoutRaw for T
§fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
§impl<T, N1, N2> Niching<NichedOption<T, N1>> for N2where
T: SharedNiching<N1, N2>,
N1: Niching<T>,
N2: Niching<T>,
impl<T, N1, N2> Niching<NichedOption<T, N1>> for N2where
T: SharedNiching<N1, N2>,
N1: Niching<T>,
N2: Niching<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> Pointee for T
impl<T> Pointee 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.