pub struct NextConfig { /* private fields */ }Implementations§
Source§impl NextConfig
impl NextConfig
pub fn with_analyze_config(self: Vc<Self>) -> Vc<Self>
Source§impl NextConfig
impl NextConfig
pub fn from_string(string: Vc<RcStr>) -> Vc<Self>
pub fn config_file_path( self: Vc<Self>, project_path: FileSystemPath, ) -> Vc<FileSystemPath>
pub fn bundle_pages_router_dependencies(self: Vc<Self>) -> Vc<bool>
pub fn enable_react_production_profiling(self: Vc<Self>) -> Vc<bool>
pub fn server_external_packages(self: Vc<Self>) -> Vc<Vec<RcStr>>
pub fn is_standalone(self: Vc<Self>) -> Vc<bool>
pub fn base_path(self: Vc<Self>) -> Vc<Option<RcStr>>
pub fn cache_handler( self: Vc<Self>, project_path: FileSystemPath, ) -> Vc<OptionFileSystemPath>
pub fn compiler(self: Vc<Self>) -> Vc<CompilerConfig>
pub fn env(self: Vc<Self>) -> Vc<EnvMap>
pub fn image_config(self: Vc<Self>) -> Vc<ImageConfig>
pub fn page_extensions(self: Vc<Self>) -> Vc<Vec<RcStr>>
pub fn instrumentation_client_inject(self: Vc<Self>) -> Vc<Vec<RcStr>>
pub fn is_global_not_found_enabled(self: Vc<Self>) -> Vc<bool>
pub fn explicit_parallel_route_children(self: Vc<Self>) -> Vc<bool>
pub fn strict_route_matching(self: Vc<Self>) -> Vc<bool>
pub fn transpile_packages(self: Vc<Self>) -> Vc<Vec<RcStr>>
pub fn webpack_rules( self: Vc<Self>, project_path: FileSystemPath, ) -> Vc<WebpackRules>
pub fn resolve_alias_options(self: Vc<Self>) -> Vc<ResolveAliasMap>
pub fn resolve_extension(self: Vc<Self>) -> Vc<ResolveExtensions>
pub fn import_externals(self: Vc<Self>) -> Vc<bool>
pub fn inline_css(self: Vc<Self>) -> Vc<bool>
Sourcepub fn css_chunking(self: Vc<Self>) -> Vc<StyleGroupsAlgorithm>
pub fn css_chunking(self: Vc<Self>) -> Vc<StyleGroupsAlgorithm>
Resolve experimental.cssChunking to a StyleGroupsAlgorithm (with defaults applied
for the cost parameters of the graph algorithm).
pub fn turbopack_chunking(self: Vc<Self>) -> Vc<TurbopackChunking>
pub fn mdx_rs(self: Vc<Self>) -> Vc<OptionalMdxTransformOptions>
pub fn modularize_imports(self: Vc<Self>) -> Vc<ModularizeImports>
pub fn dist_dir(self: Vc<Self>) -> Vc<RcStr>
pub fn dist_dir_root(self: Vc<Self>) -> Vc<RcStr>
pub fn cache_handlers( self: Vc<Self>, project_path: FileSystemPath, ) -> Vc<FileSystemPathVec>
pub fn cache_handlers_map(self: Vc<Self>) -> Vc<CacheHandlersMap>
pub fn experimental_swc_plugins(self: Vc<Self>) -> Vc<SwcPlugins>
pub fn experimental_swc_env_options(self: Vc<Self>) -> Vc<OptionSwcEnvOptions>
pub fn experimental_sri(self: Vc<Self>) -> Vc<OptionSubResourceIntegrity>
pub fn experimental_turbopack_use_builtin_babel( self: Vc<Self>, ) -> Vc<Option<bool>>
pub fn experimental_turbopack_use_builtin_sass( self: Vc<Self>, ) -> Vc<Option<bool>>
pub fn experimental_turbopack_local_postcss_config( self: Vc<Self>, ) -> Vc<Option<bool>>
pub fn react_compiler_options( self: Vc<Self>, ) -> Vc<OptionalReactCompilerOptions>
Sourcepub fn rust_react_compiler(
self: Vc<Self>,
) -> Vc<OptionReactCompilerCompilationMode>
pub fn rust_react_compiler( self: Vc<Self>, ) -> Vc<OptionReactCompilerCompilationMode>
Returns compilation mode when both reactCompiler and turbopackRustReactCompiler are set;
None otherwise.
pub fn sass_config(self: Vc<Self>) -> Vc<JsonValue>
pub fn skip_proxy_url_normalize(self: Vc<Self>) -> Vc<bool>
pub fn skip_trailing_slash_redirect(self: Vc<Self>) -> Vc<bool>
Sourcepub fn computed_asset_prefix(self: Vc<Self>) -> Vc<RcStr>
pub fn computed_asset_prefix(self: Vc<Self>) -> Vc<RcStr>
Returns the final asset prefix. If an assetPrefix is set, it’s used. Otherwise, the basePath is used.
Sourcepub fn asset_suffix_path(self: Vc<Self>) -> Vc<Option<RcStr>>
pub fn asset_suffix_path(self: Vc<Self>) -> Vc<Option<RcStr>>
Returns the suffix to use for chunk loading.
Sourcepub fn enable_immutable_assets(self: Vc<Self>) -> Vc<bool>
pub fn enable_immutable_assets(self: Vc<Self>) -> Vc<bool>
Whether to enable immutable assets, which uses a different asset suffix, and writes a .next/immutable-static-hashes.json manifest.
pub fn client_static_folder_name(self: Vc<Self>) -> Vc<RcStr>
pub fn enable_taint(self: Vc<Self>) -> Vc<bool>
pub fn enable_expose_testing_api_in_production_build(self: Vc<Self>) -> Vc<bool>
pub fn enable_concurrent_router_queue(self: Vc<Self>) -> Vc<bool>
pub fn enable_cache_components(self: Vc<Self>) -> Vc<bool>
pub fn enable_use_cache(self: Vc<Self>) -> Vc<bool>
pub fn enable_durable_use_cache_entries( self: Vc<Self>, mode: Vc<NextMode>, ) -> Vc<bool>
pub fn use_react_experimental(self: Vc<Self>) -> Vc<bool>
pub fn is_using_adapter(self: Vc<Self>) -> Vc<bool>
pub fn should_append_server_deployment_id_at_runtime(self: Vc<Self>) -> Vc<bool>
pub fn cache_kinds(self: Vc<Self>) -> Vc<CacheKinds>
pub fn optimize_package_imports(self: Vc<Self>) -> Vc<Vec<RcStr>>
pub fn module_fragments_enabled_for_foreign_code( self: Vc<Self>, _is_development: bool, ) -> Vc<bool>
pub fn module_fragments_enabled_for_user_code( self: Vc<Self>, _is_development: bool, ) -> Vc<bool>
pub fn turbopack_remove_unused_imports( self: Vc<Self>, mode: Vc<NextMode>, ) -> Vc<bool>
pub fn turbopack_remove_unused_exports( self: Vc<Self>, mode: Vc<NextMode>, ) -> Vc<bool>
pub fn turbopack_infer_module_side_effects(self: Vc<Self>) -> Vc<bool>
pub fn turbopack_cjs_tree_shaking(self: Vc<Self>) -> Vc<bool>
Sourcepub fn turbopack_mangle_export_names(
self: Vc<Self>,
mode: Vc<NextMode>,
) -> Vc<bool>
pub fn turbopack_mangle_export_names( self: Vc<Self>, mode: Vc<NextMode>, ) -> Vc<bool>
Whether Turbopack should shorten (“mangle”) the export names modules expose to each other.
An explicit value always wins, in either direction — setting this to true in development
is honoured. mode only supplies the default when the option is unset: on in production
builds, off in development, where the extra module splitting costs rebuild time and the
short names make debugging harder for no benefit.
pub fn turbopack_cjs_scope_hoisting(self: Vc<Self>) -> Vc<bool>
pub fn turbopack_cross_module_constants(self: Vc<Self>) -> Vc<bool>
pub fn turbopack_plugin_runtime_strategy( self: Vc<Self>, ) -> Vc<TurbopackPluginRuntimeStrategy>
pub fn module_ids(self: Vc<Self>, mode: Vc<NextMode>) -> Vc<ModuleIds>
Sourcepub fn turbo_client_minify(self: Vc<Self>, mode: Vc<NextMode>) -> Vc<bool>
pub fn turbo_client_minify(self: Vc<Self>, mode: Vc<NextMode>) -> Vc<bool>
Whether to minify browser output.
Sourcepub fn turbo_server_minify(self: Vc<Self>, mode: Vc<NextMode>) -> Vc<bool>
pub fn turbo_server_minify(self: Vc<Self>, mode: Vc<NextMode>) -> Vc<bool>
Whether to minify Node.js server output. turbopackMinify takes
precedence over serverMinification, which can only opt out.
Sourcepub fn turbo_edge_minify(self: Vc<Self>, mode: Vc<NextMode>) -> Vc<bool>
pub fn turbo_edge_minify(self: Vc<Self>, mode: Vc<NextMode>) -> Vc<bool>
Whether to minify edge output. serverMinification only covers the
Node.js server, matching webpack.
pub fn turbo_scope_hoisting(self: Vc<Self>, mode: Vc<NextMode>) -> Vc<bool>
pub fn turbopack_generate_component_chunks(self: Vc<Self>) -> Vc<bool>
pub fn turbo_nested_async_chunking( self: Vc<Self>, mode: Vc<NextMode>, client_side: bool, ) -> Vc<bool>
pub fn turbopack_import_type_bytes(self: Vc<Self>) -> Vc<bool>
pub fn lightningcss_feature_flags( self: Vc<Self>, ) -> Vc<LightningCssFeatureFlags>
pub fn client_source_maps( self: Vc<Self>, mode: Vc<NextMode>, ) -> Vc<SourceMapsType>
pub fn server_source_maps(self: Vc<Self>) -> Vc<SourceMapsType>
pub fn turbopack_debug_ids(self: Vc<Self>) -> Vc<bool>
Sourcepub fn turbopack_worker_asset_prefix(self: Vc<Self>) -> Vc<Option<RcStr>>
pub fn turbopack_worker_asset_prefix(self: Vc<Self>) -> Vc<Option<RcStr>>
Returns the resolved worker chunk base path with /_next/ appended,
or None to fall back to the regular chunk base path.
pub fn turbopack_chunk_loading_global(self: Vc<Self>) -> Vc<Option<RcStr>>
pub fn typescript_tsconfig_path(self: Vc<Self>) -> Vc<Option<RcStr>>
pub fn cross_origin(self: Vc<Self>) -> Vc<CrossOrigin>
pub fn i18n(self: Vc<Self>) -> Vc<OptionI18NConfig>
pub fn output(self: Vc<Self>) -> Vc<OptionOutputType>
pub fn output_file_tracing_includes( self: Vc<Self>, project_path: FileSystemPath, ) -> Vc<OutputFileTracingIncludesExcludes>
pub fn output_file_tracing_excludes( self: Vc<Self>, project_path: FileSystemPath, ) -> Vc<OutputFileTracingIncludesExcludes>
pub fn fetch_client( self: Vc<Self>, next_mode: Vc<NextMode>, ) -> Vc<FetchClientConfig>
pub fn report_system_env_inlining(self: Vc<Self>) -> Vc<IssueSeverity>
Sourcepub fn turbopack_ignore_issue_rules(self: Vc<Self>) -> Vc<IgnoreIssues>
pub fn turbopack_ignore_issue_rules(self: Vc<Self>) -> Vc<IgnoreIssues>
Returns the list of ignore-issue rules from the turbopack config,
converted to the IgnoreIssue type used by IssueFilter.
pub fn output_hash_salt(self: Vc<Self>) -> Vc<RcStr>
Trait Implementations§
Source§impl<'__de, __Context> BorrowDecode<'__de, __Context> for NextConfig
impl<'__de, __Context> BorrowDecode<'__de, __Context> for NextConfig
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 Clone for NextConfig
impl Clone for NextConfig
Source§fn clone(&self) -> NextConfig
fn clone(&self) -> NextConfig
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 NextConfig
impl Debug for NextConfig
Source§impl<__Context> Decode<__Context> for NextConfig
impl<__Context> Decode<__Context> for NextConfig
Source§impl Default for NextConfig
impl Default for NextConfig
Source§fn default() -> NextConfig
fn default() -> NextConfig
Source§impl<'de> Deserialize<'de> for NextConfigwhere
NextConfig: Default,
impl<'de> Deserialize<'de> for NextConfigwhere
NextConfig: Default,
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Source§impl Encode for NextConfig
impl Encode for NextConfig
impl NonLocalValue for NextConfig
Source§impl PartialEq for NextConfig
impl PartialEq for NextConfig
Source§impl ShrinkToFit for NextConfig
impl ShrinkToFit for NextConfig
fn shrink_to_fit(&mut self)
impl StructuralPartialEq for NextConfig
Source§impl TraceRawVcs for NextConfig
impl TraceRawVcs for NextConfig
fn trace_raw_vcs(&self, __context__: &mut TraceRawVcsContext)
fn get_raw_vcs(&self) -> Vec<RawVc>
impl Upcast<Box<dyn ValueDebug>> for NextConfig
impl UpcastStrict<Box<dyn ValueDebug>> for NextConfig
Source§impl ValueDebug for NextConfig
impl ValueDebug for NextConfig
Source§impl ValueDebugFormat for NextConfig
Available on debug-assertions enabled only.
impl ValueDebugFormat for NextConfig
fn value_debug_format<'a>(&'a self, depth: usize) -> ValueDebugFormatString<'a>
Source§impl VcValueType for NextConfig
impl VcValueType for NextConfig
Source§type Read = VcDefaultRead<NextConfig>
type Read = VcDefaultRead<NextConfig>
Source§type CellMode = VcCellCompareMode<NextConfig>
type CellMode = VcCellCompareMode<NextConfig>
Source§fn get_value_type_id() -> ValueTypeId
fn get_value_type_id() -> ValueTypeId
fn has_serialization() -> bool
Auto Trait Implementations§
impl Freeze for NextConfig
impl RefUnwindSafe for NextConfig
impl Send for NextConfig
impl Sync for NextConfig
impl Unpin for NextConfig
impl UnsafeUnpin for NextConfig
impl UnwindSafe for NextConfig
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
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> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> DynPartialEq for T
impl<T> DynPartialEq for T
fn dyn_partial_eq(&self, other: &(dyn Any + 'static)) -> bool
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> GetSetFdFlags for T
impl<T> GetSetFdFlags for T
§fn get_fd_flags(&self) -> Result<FdFlags, Error>where
T: AsFilelike,
fn get_fd_flags(&self) -> Result<FdFlags, Error>where
T: AsFilelike,
self file descriptor.§fn new_set_fd_flags(&self, fd_flags: FdFlags) -> Result<SetFdFlags<T>, Error>where
T: AsFilelike,
fn new_set_fd_flags(&self, fd_flags: FdFlags) -> Result<SetFdFlags<T>, Error>where
T: AsFilelike,
§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<T> MaybeTypeTag 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> Pointee for T
impl<T> Pointee for T
§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
§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.