#[repr(u8)]pub enum SystemEvent {
Show 25 variants
MerkleNodeMerge = 0,
MerkleNodeToStack = 1,
MapValueToStack = 2,
MapValueCountToStack = 3,
MapValueToStackN0 = 4,
MapValueToStackN4 = 5,
MapValueToStackN8 = 6,
HasMapKey = 7,
Ext2Inv = 8,
U32Clz = 9,
U32Ctz = 10,
U32Clo = 11,
U32Cto = 12,
ILog2 = 13,
MemToMap = 14,
HdwordToMap = 15,
HqwordToMap = 16,
CompressToMap = 17,
DeferredRegister = 18,
DeferredEvaluate = 19,
DeferredEvaluateFrame = 20,
DeferredEvaluatePayload = 21,
DeferredRegisterData = 22,
DeferredExportWitness = 23,
TraceEvent = 24,
}Expand description
Defines a set of host-side actions which can be initiated from the VM.
Most actions update or query one of the three advice-provider components: Merkle store, advice stack, or advice map. Deferred-DAG actions update host-side deferred state, and evaluation may also push canonical node data to the advice stack.
All actions, except for MerkleNodeMerge, Ext2Inv and UpdateMerkleNode can be invoked
directly from Miden assembly via dedicated instructions.
System event IDs are derived from blake3-hashing their names (prefixed with “sys::”).
The enum variant order matches the indices in SYSTEM_EVENT_LOOKUP, allowing efficient const
lookup via to_event_id(). The discriminants are implicitly 0, 1, 2, … COUNT - 1.
Variants§
MerkleNodeMerge = 0
Creates a new Merkle tree in the advice provider by combining Merkle trees with the
specified roots. The root of the new tree is defined as Hash(LEFT_ROOT, RIGHT_ROOT).
Inputs: Operand stack: [LEFT_ROOT, RIGHT_ROOT, …] Merkle store: {LEFT_ROOT, RIGHT_ROOT}
Outputs: Operand stack: [LEFT_ROOT, RIGHT_ROOT, …] Merkle store: {LEFT_ROOT, RIGHT_ROOT, hash(LEFT_ROOT, RIGHT_ROOT)}
After the operation, both the original trees and the new tree remains in the advice provider (i.e., the input trees are not removed).
MerkleNodeToStack = 1
Pushes a node of the Merkle tree specified by the values on the top of the operand stack
onto the advice stack in structural order for consumption by AdvPopW.
Inputs: Operand stack: [depth, index, TREE_ROOT, …] Advice stack: […] Merkle store: {TREE_ROOT<-NODE}
Outputs: Operand stack: [depth, index, TREE_ROOT, …] Advice stack: [NODE, …] Merkle store: {TREE_ROOT<-NODE}
MapValueToStack = 2
Pushes a list of field elements onto the advice stack. The list is looked up in the advice map using the specified word from the operand stack as the key.
Inputs: Operand stack: [KEY, …] Advice stack: […] Advice map: {KEY: values}
Outputs: Operand stack: [KEY, …] Advice stack: [values, …] Advice map: {KEY: values}
MapValueCountToStack = 3
Pushes the number of elements in a list of field elements onto the advice stack. The list is looked up in the advice map using the specified word from the operand stack as the key.
Inputs: Operand stack: [KEY, …] Advice stack: […] Advice map: {KEY: values}
Outputs: Operand stack: [KEY, …] Advice stack: [values.len(), …] Advice map: {KEY: values}
MapValueToStackN0 = 4
Pushes a list of field elements onto the advice stack, along with the number of elements in that list. The list is looked up in the advice map using the word at the top of the operand stack as the key.
Notice that the resulting elements list is not padded.
Inputs: Operand stack: [KEY, …] Advice stack: […] Advice map: {KEY: values}
Outputs: Operand stack: [KEY, …] Advice stack: [num_values, values, …] Advice map: {KEY: values}
MapValueToStackN4 = 5
Pushes a padded list of field elements onto the advice stack, along with the number of elements in that list. The list is looked up in the advice map using the word at the top of the operand stack as the key.
Notice that the elements list obtained from the advice map will be padded with zeros, increasing its length to the next multiple of 4.
Inputs: Operand stack: [KEY, …] Advice stack: […] Advice map: {KEY: values}
Outputs: Operand stack: [KEY, …] Advice stack: [num_values, values, padding, …] Advice map: {KEY: values}
MapValueToStackN8 = 6
Pushes a padded list of field elements onto the advice stack, along with the number of elements in that list. The list is looked up in the advice map using the word at the top of the operand stack as the key.
Notice that the elements list obtained from the advice map will be padded with zeros, increasing its length to the next multiple of 8.
Inputs: Operand stack: [KEY, …] Advice stack: […] Advice map: {KEY: values}
Outputs: Operand stack: [KEY, …] Advice stack: [num_values, values, padding, …] Advice map: {KEY: values}
HasMapKey = 7
Pushes a flag onto the advice stack whether advice map has an entry with specified key.
If the advice map has the entry with the key equal to the key placed at the top of the
operand stack, 1 will be pushed to the advice stack and 0 otherwise.
Inputs: Operand stack: [KEY, …] Advice stack: […]
Outputs: Operand stack: [KEY, …] Advice stack: [has_mapkey, …]
Ext2Inv = 8
Given an element in a quadratic extension field on the top of the stack (i.e., a0, b1), computes its multiplicative inverse and push the result onto the advice stack.
Inputs: Operand stack: [a1, a0, …] Advice stack: […]
Outputs: Operand stack: [a1, a0, …] Advice stack: [b0, b1…]
Where (b0, b1) is the multiplicative inverse of the extension field element (a0, a1) at the top of the stack.
U32Clz = 9
Pushes the number of the leading zeros of the top stack element onto the advice stack.
Inputs: Operand stack: [n, …] Advice stack: […]
Outputs: Operand stack: [n, …] Advice stack: [leading_zeros, …]
U32Ctz = 10
Pushes the number of the trailing zeros of the top stack element onto the advice stack.
Inputs: Operand stack: [n, …] Advice stack: […]
Outputs: Operand stack: [n, …] Advice stack: [trailing_zeros, …]
U32Clo = 11
Pushes the number of the leading ones of the top stack element onto the advice stack.
Inputs: Operand stack: [n, …] Advice stack: […]
Outputs: Operand stack: [n, …] Advice stack: [leading_ones, …]
U32Cto = 12
Pushes the number of the trailing ones of the top stack element onto the advice stack.
Inputs: Operand stack: [n, …] Advice stack: […]
Outputs: Operand stack: [n, …] Advice stack: [trailing_ones, …]
ILog2 = 13
Pushes the base 2 logarithm of the top stack element, rounded down. Inputs: Operand stack: [n, …] Advice stack: […]
Outputs: Operand stack: [n, …] Advice stack: [ilog2(n), …]
MemToMap = 14
Reads words from memory at the specified range and inserts them into the advice map under
the key KEY located at the top of the stack.
Inputs: Operand stack: [KEY, start_addr, end_addr, …] Advice map: {…}
Outputs: Operand stack: [KEY, start_addr, end_addr, …] Advice map: {KEY: values}
Where values are the elements located in memory[start_addr..end_addr].
HdwordToMap = 15
Reads two words from the operand stack and inserts them into the advice map under
hdword(A, B).
Inputs: Operand stack: [A, B, …] Advice map: {…}
Outputs: Operand stack: [A, B, …] Advice map: {KEY: [a0, a1, a2, a3, b0, b1, b2, b3]}
KEY is the generic Eidos hash of the eight Felts in A || B.
HqwordToMap = 16
Reads four words from the operand stack and inserts them into the advice map under the key defined by the hash of these words.
Inputs: Operand stack: [A, B, C, D, …] Advice map: {…}
Outputs: Operand stack: [A, B, C, D, …] Advice map: {KEY: [A, B, C, D]} (16 elements)
Where:
- KEY is computed as the canonical Eidos hash of
[A, B, C, D], using two 8-Felt compression blocks with the full 16-Felt length bound into the initial chaining value.
CompressToMap = 17
Reads three words from the operand stack and inserts the top two words into the advice map
under the key Eidos::compress(C, A || B).
Inputs: Operand stack: [A, B, C, …] Advice map: {…}
Outputs: Operand stack: [A, B, C, …] Advice map: {KEY: [a0, a1, a2, a3, b0, b1, b2, b3]}
In particular, using the framed initial CV for (domain_tag = d, param0 = 8) produces
Eidos::hash_elements_in_domain(A || B, d).
DeferredRegister = 18
Registers and eagerly evaluates a deferred node whose full payload is on the operand stack.
CV is one word containing the framed initial Eidos chaining value.
PAYLOAD_LO || PAYLOAD_HI is eight field elements:
either one crate::deferred::DataChunk, two child digests (lhs || rhs) for a
precompile-owned join, or one lhs || rhs pair for a pair-list node. The installed registry
recovers the semantic
crate::deferred::EidosFrame from CV and decodes it via
crate::deferred::DeferredState::decode. Framework-owned AND and TRUE nodes are not
accepted by this generic event; log_deferred constructs rolling AND nodes. Frames that
semantically require more data chunks or pairs are rejected during precompile-specific
evaluation. Registration is performed by
crate::deferred::DeferredState::register, so semantic failures surface immediately.
This event does not push advice or return the node digest. The stack arguments are visible
in the VM execution trace, but the host-side registration is not constrained by the event.
Assembly code that later relies on the digest must compute it inside the VM from the same
CV and payload.
Inputs: Operand stack: [event_id, CV, PAYLOAD_LO, PAYLOAD_HI, …]
Outputs: Operand stack: unchanged Advice stack: unchanged Deferred state: node registered and semantically evaluated
DeferredEvaluate = 19
Evaluates a registered deferred node and pushes its canonical frame and payload as advice.
NODE_DIGEST is one word (4 field elements) and must already be registered in deferred
state. The handler evaluates it with crate::deferred::DeferredState::evaluate_digest,
fetches the canonical node, and pushes its frame followed by its payload to the advice
stack.
The frame is emitted first in advice-pop order so adv_pushw adv_pushw adv_pushw leaves
[PAYLOAD_LO, PAYLOAD_HI, FRAME, ...] on the operand stack for a single 8-felt payload.
Data payloads push two words per 8-felt chunk in advice order HIGH, LOW, preserving
canonical chunk order. Join payloads use the same two-word LIFO convention, leaving
[lhs, rhs, FRAME, ...]. TRUE pushes one zero word. These felts are unbound host hints.
Before proof-relevant use, assembly code must relate them with VM instructions to values
established independently of that advice.
Inputs: Operand stack: [event_id, NODE_DIGEST, …]
Outputs:
Operand stack: unchanged
Advice stack: canonical frame, then canonical payload words for adv_pushw LIFO
consumption
DeferredEvaluateFrame = 20
Evaluates a registered deferred node and pushes only its canonical frame as advice.
NODE_DIGEST is one word (4 field elements) and must already be registered in deferred
state. TRUE pushes one zero word. The returned frame is an unbound host hint; before
proof-relevant use, assembly code must relate it with VM instructions to a value established
independently of that advice.
Inputs: Operand stack: [event_id, NODE_DIGEST, …]
Outputs: Operand stack: unchanged Advice stack: canonical frame only
DeferredEvaluatePayload = 21
Evaluates a registered deferred node and pushes only its canonical payload as advice.
Data payloads push two words per 8-felt chunk in advice order HIGH, LOW so
adv_pushw adv_pushw leaves [LOW, HIGH, ...] on the operand stack for that chunk. Chunks
are emitted in canonical chunk order. Join payloads use the same two-word LIFO convention,
leaving [lhs, rhs, ...] after two adv_pushws. TRUE pushes no advice. These felts are
unbound host hints. Before proof-relevant use, assembly code must relate them with VM
instructions to values established independently of that advice.
Inputs: Operand stack: [event_id, NODE_DIGEST, …]
Outputs:
Operand stack: unchanged
Advice stack: canonical payload only, word-ordered for adv_pushw LIFO consumption
DeferredRegisterData = 22
Registers and eagerly evaluates a memory-backed deferred node.
CV is one word containing the framed initial Eidos chaining value. The installed registry
recovers its semantic frame to determine the memory-backed payload shape. The stack-supplied
ptr and n_chunks are visible in the VM
execution trace and select the range [ptr, ptr + 8 * n_chunks). The host reads n_chunks
8-felt crate::deferred::DataChunk values from that range, but this event adds no AIR
constraint tying the registered contents to those memory cells.
The registered deferred-CHUNKS domain denotes framework-owned opaque data, while other data
frames remain precompile-owned. Pair-list frames interpret chunks as lhs || rhs pairs.
Precompile-owned join frames require n_chunks == 1 and interpret the single chunk as
lhs || rhs. Framework-owned AND and TRUE nodes are not accepted by this generic event;
log_deferred constructs rolling AND nodes. The handler performs a cheap budget pre-check
before allocating or reading memory, then delegates registration to
crate::deferred::DeferredState::register.
This event does not push advice or return the node digest. A program that relies on the
registered node must compute its digest with VM instructions from the same CV and ordered
chunk sequence. The register_mem MASM wrapper does this with the canonical Eidos deferred
framing: the frame determines the initial chaining word, then payload chunks are compressed
in order. If the event and the VM hash different chunk
sequences, the VM-computed digest does not identify the host-registered node and cannot bind
that registration into a proof-relevant deferred claim.
Inputs: Operand stack: [event_id, n_chunks, CV, ptr, …]
Outputs: Operand stack: unchanged Advice stack: unchanged Deferred state: node registered and semantically evaluated
DeferredExportWitness = 23
Exports a registered true assertion’s witness into the advice map.
The selected node may be unlogged, but cannot be literal TRUE. Its original digest is
both the witness root and map key; any existing value is replaced with the computed witness.
The value is [byte_len, packed_u32_le(witness_bytes)...]. Only the final u32 limb is
zero-padded, and byte_len excludes padding.
Both stacks and the deferred root are preserved. Errors leave existing advice unchanged. Consumers must validate the witness and bind its root to an independently established expected digest.
Inputs: Operand stack: [event_id, NODE_DIGEST, …]
Outputs: Operand stack: unchanged Advice stack: unchanged Advice map: {NODE_DIGEST: [byte_len, packed_u32_le(witness_bytes)…]}
TraceEvent = 24
Signals an optional, read-only trace event to the host.
Assembly programs emit trace events with trace, trace.CONST, or trace.event("...").
When the underlying emit observes this system event ID at stack position 0, the VM
forwards the user trace event ID at stack position 1 to the host’s trace handler. The
immediate form lowers to push.<user_trace_id> push.<sys::trace_event> emit drop drop.
Trace handlers can observe the processor state, but cannot mutate VM state or the advice
provider. If no handler is registered for the user trace event ID, the event is a no-op.
Hosts are expected not to raise an error if they encounter a user_trace_id for which no
trace handler is registered.
Inputs: Operand stack: [sys::trace_event, user_trace_id, …]
Outputs: Operand stack: unchanged Advice provider: unchanged
Implementations§
Source§impl SystemEvent
impl SystemEvent
Sourcepub const fn from_event_id(event_id: EventId) -> Option<SystemEvent>
pub const fn from_event_id(event_id: EventId) -> Option<SystemEvent>
Attempts to convert an EventId into a SystemEvent by looking it up in the const table.
Returns Some(SystemEvent) if the ID matches a known system event, None otherwise.
This uses a const lookup table with hardcoded EventIds, avoiding runtime hash computation.
Sourcepub const fn from_name(name: &str) -> Option<SystemEvent>
pub const fn from_name(name: &str) -> Option<SystemEvent>
Attempts to convert a name into a SystemEvent by looking it up in the const table.
Returns Some(SystemEvent) if the name matches a known system event, None otherwise.
This uses const string comparison against the lookup table.
Sourcepub const fn event_name(&self) -> EventName
pub const fn event_name(&self) -> EventName
Returns the human-readable name of this system event as an EventName.
System event names are prefixed with sys:: to distinguish them from user-defined events.
Sourcepub const fn event_id(&self) -> EventId
pub const fn event_id(&self) -> EventId
Returns the EventId for this system event.
The ID is looked up from the const LOOKUP table using the enum’s discriminant as the index. The discriminants are explicitly set to match the array indices.
Sourcepub const fn all() -> [SystemEvent; 25]
pub const fn all() -> [SystemEvent; 25]
Returns an array of all system event variants.
Trait Implementations§
Source§impl Clone for SystemEvent
impl Clone for SystemEvent
Source§fn clone(&self) -> SystemEvent
fn clone(&self) -> SystemEvent
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreimpl Copy for SystemEvent
Source§impl Debug for SystemEvent
impl Debug for SystemEvent
Source§impl Display for SystemEvent
impl Display for SystemEvent
impl Eq for SystemEvent
Source§impl From<&SystemEventNode> for SystemEvent
impl From<&SystemEventNode> for SystemEvent
Source§fn from(value: &SystemEventNode) -> SystemEvent
fn from(value: &SystemEventNode) -> SystemEvent
Source§impl From<SystemEvent> for EventName
impl From<SystemEvent> for EventName
Source§fn from(system_event: SystemEvent) -> EventName
fn from(system_event: SystemEvent) -> EventName
Source§impl PartialEq for SystemEvent
impl PartialEq for SystemEvent
Source§impl PrettyPrint for SystemEvent
impl PrettyPrint for SystemEvent
Source§fn to_pretty_string(&self) -> String
fn to_pretty_string(&self) -> String
Source§fn pretty_print(&self, f: &mut Formatter<'_>) -> Result<(), Error>
fn pretty_print(&self, f: &mut Formatter<'_>) -> Result<(), Error>
impl StructuralPartialEq for SystemEvent
Auto Trait Implementations§
impl Freeze for SystemEvent
impl RefUnwindSafe for SystemEvent
impl Send for SystemEvent
impl Sync for SystemEvent
impl Unpin for SystemEvent
impl UnsafeUnpin for SystemEvent
impl UnwindSafe for SystemEvent
Blanket Implementations§
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<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§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<D> OwoColorize for D
impl<D> OwoColorize for D
Source§fn fg<C>(&self) -> FgColorDisplay<'_, C, Self>where
C: Color,
fn fg<C>(&self) -> FgColorDisplay<'_, C, Self>where
C: Color,
Source§fn bg<C>(&self) -> BgColorDisplay<'_, C, Self>where
C: Color,
fn bg<C>(&self) -> BgColorDisplay<'_, C, Self>where
C: Color,
Source§fn black(&self) -> FgColorDisplay<'_, Black, Self>
fn black(&self) -> FgColorDisplay<'_, Black, Self>
Source§fn on_black(&self) -> BgColorDisplay<'_, Black, Self>
fn on_black(&self) -> BgColorDisplay<'_, Black, Self>
Source§fn red(&self) -> FgColorDisplay<'_, Red, Self>
fn red(&self) -> FgColorDisplay<'_, Red, Self>
Source§fn on_red(&self) -> BgColorDisplay<'_, Red, Self>
fn on_red(&self) -> BgColorDisplay<'_, Red, Self>
Source§fn green(&self) -> FgColorDisplay<'_, Green, Self>
fn green(&self) -> FgColorDisplay<'_, Green, Self>
Source§fn on_green(&self) -> BgColorDisplay<'_, Green, Self>
fn on_green(&self) -> BgColorDisplay<'_, Green, Self>
Source§fn yellow(&self) -> FgColorDisplay<'_, Yellow, Self>
fn yellow(&self) -> FgColorDisplay<'_, Yellow, Self>
Source§fn on_yellow(&self) -> BgColorDisplay<'_, Yellow, Self>
fn on_yellow(&self) -> BgColorDisplay<'_, Yellow, Self>
Source§fn blue(&self) -> FgColorDisplay<'_, Blue, Self>
fn blue(&self) -> FgColorDisplay<'_, Blue, Self>
Source§fn on_blue(&self) -> BgColorDisplay<'_, Blue, Self>
fn on_blue(&self) -> BgColorDisplay<'_, Blue, Self>
Source§fn magenta(&self) -> FgColorDisplay<'_, Magenta, Self>
fn magenta(&self) -> FgColorDisplay<'_, Magenta, Self>
Source§fn on_magenta(&self) -> BgColorDisplay<'_, Magenta, Self>
fn on_magenta(&self) -> BgColorDisplay<'_, Magenta, Self>
Source§fn purple(&self) -> FgColorDisplay<'_, Magenta, Self>
fn purple(&self) -> FgColorDisplay<'_, Magenta, Self>
Source§fn on_purple(&self) -> BgColorDisplay<'_, Magenta, Self>
fn on_purple(&self) -> BgColorDisplay<'_, Magenta, Self>
Source§fn cyan(&self) -> FgColorDisplay<'_, Cyan, Self>
fn cyan(&self) -> FgColorDisplay<'_, Cyan, Self>
Source§fn on_cyan(&self) -> BgColorDisplay<'_, Cyan, Self>
fn on_cyan(&self) -> BgColorDisplay<'_, Cyan, Self>
Source§fn white(&self) -> FgColorDisplay<'_, White, Self>
fn white(&self) -> FgColorDisplay<'_, White, Self>
Source§fn on_white(&self) -> BgColorDisplay<'_, White, Self>
fn on_white(&self) -> BgColorDisplay<'_, White, Self>
Source§fn default_color(&self) -> FgColorDisplay<'_, Default, Self>
fn default_color(&self) -> FgColorDisplay<'_, Default, Self>
Source§fn on_default_color(&self) -> BgColorDisplay<'_, Default, Self>
fn on_default_color(&self) -> BgColorDisplay<'_, Default, Self>
Source§fn bright_black(&self) -> FgColorDisplay<'_, BrightBlack, Self>
fn bright_black(&self) -> FgColorDisplay<'_, BrightBlack, Self>
Source§fn on_bright_black(&self) -> BgColorDisplay<'_, BrightBlack, Self>
fn on_bright_black(&self) -> BgColorDisplay<'_, BrightBlack, Self>
Source§fn bright_red(&self) -> FgColorDisplay<'_, BrightRed, Self>
fn bright_red(&self) -> FgColorDisplay<'_, BrightRed, Self>
Source§fn on_bright_red(&self) -> BgColorDisplay<'_, BrightRed, Self>
fn on_bright_red(&self) -> BgColorDisplay<'_, BrightRed, Self>
Source§fn bright_green(&self) -> FgColorDisplay<'_, BrightGreen, Self>
fn bright_green(&self) -> FgColorDisplay<'_, BrightGreen, Self>
Source§fn on_bright_green(&self) -> BgColorDisplay<'_, BrightGreen, Self>
fn on_bright_green(&self) -> BgColorDisplay<'_, BrightGreen, Self>
Source§fn bright_yellow(&self) -> FgColorDisplay<'_, BrightYellow, Self>
fn bright_yellow(&self) -> FgColorDisplay<'_, BrightYellow, Self>
Source§fn on_bright_yellow(&self) -> BgColorDisplay<'_, BrightYellow, Self>
fn on_bright_yellow(&self) -> BgColorDisplay<'_, BrightYellow, Self>
Source§fn bright_blue(&self) -> FgColorDisplay<'_, BrightBlue, Self>
fn bright_blue(&self) -> FgColorDisplay<'_, BrightBlue, Self>
Source§fn on_bright_blue(&self) -> BgColorDisplay<'_, BrightBlue, Self>
fn on_bright_blue(&self) -> BgColorDisplay<'_, BrightBlue, Self>
Source§fn bright_magenta(&self) -> FgColorDisplay<'_, BrightMagenta, Self>
fn bright_magenta(&self) -> FgColorDisplay<'_, BrightMagenta, Self>
Source§fn on_bright_magenta(&self) -> BgColorDisplay<'_, BrightMagenta, Self>
fn on_bright_magenta(&self) -> BgColorDisplay<'_, BrightMagenta, Self>
Source§fn bright_purple(&self) -> FgColorDisplay<'_, BrightMagenta, Self>
fn bright_purple(&self) -> FgColorDisplay<'_, BrightMagenta, Self>
Source§fn on_bright_purple(&self) -> BgColorDisplay<'_, BrightMagenta, Self>
fn on_bright_purple(&self) -> BgColorDisplay<'_, BrightMagenta, Self>
Source§fn bright_cyan(&self) -> FgColorDisplay<'_, BrightCyan, Self>
fn bright_cyan(&self) -> FgColorDisplay<'_, BrightCyan, Self>
Source§fn on_bright_cyan(&self) -> BgColorDisplay<'_, BrightCyan, Self>
fn on_bright_cyan(&self) -> BgColorDisplay<'_, BrightCyan, Self>
Source§fn bright_white(&self) -> FgColorDisplay<'_, BrightWhite, Self>
fn bright_white(&self) -> FgColorDisplay<'_, BrightWhite, Self>
Source§fn on_bright_white(&self) -> BgColorDisplay<'_, BrightWhite, Self>
fn on_bright_white(&self) -> BgColorDisplay<'_, BrightWhite, Self>
Source§fn bold(&self) -> BoldDisplay<'_, Self>
fn bold(&self) -> BoldDisplay<'_, Self>
Source§fn dimmed(&self) -> DimDisplay<'_, Self>
fn dimmed(&self) -> DimDisplay<'_, Self>
Source§fn italic(&self) -> ItalicDisplay<'_, Self>
fn italic(&self) -> ItalicDisplay<'_, Self>
Source§fn underline(&self) -> UnderlineDisplay<'_, Self>
fn underline(&self) -> UnderlineDisplay<'_, Self>
Source§fn blink(&self) -> BlinkDisplay<'_, Self>
fn blink(&self) -> BlinkDisplay<'_, Self>
Source§fn blink_fast(&self) -> BlinkFastDisplay<'_, Self>
fn blink_fast(&self) -> BlinkFastDisplay<'_, Self>
Source§fn reversed(&self) -> ReversedDisplay<'_, Self>
fn reversed(&self) -> ReversedDisplay<'_, Self>
Source§fn strikethrough(&self) -> StrikeThroughDisplay<'_, Self>
fn strikethrough(&self) -> StrikeThroughDisplay<'_, Self>
Source§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 moreSource§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