Struct veryl_parser::finder::Finder
source · pub struct Finder {
pub line: usize,
pub column: usize,
pub token: Option<Token>,
pub token_group: Vec<Token>,
/* private fields */
}
Fields§
§line: usize
§column: usize
§token: Option<Token>
§token_group: Vec<Token>
Implementations§
Trait Implementations§
source§impl VerylWalker for Finder
impl VerylWalker for Finder
source§fn veryl_token(&mut self, arg: &VerylToken)
fn veryl_token(&mut self, arg: &VerylToken)
Semantic action for non-terminal ‘VerylToken’
source§fn hierarchical_identifier(&mut self, arg: &HierarchicalIdentifier)
fn hierarchical_identifier(&mut self, arg: &HierarchicalIdentifier)
Semantic action for non-terminal ‘HierarchicalIdentifier’
source§fn scoped_identifier(&mut self, arg: &ScopedIdentifier)
fn scoped_identifier(&mut self, arg: &ScopedIdentifier)
Semantic action for non-terminal ‘ScopedIdentifier’
source§fn expression_identifier(&mut self, arg: &ExpressionIdentifier)
fn expression_identifier(&mut self, arg: &ExpressionIdentifier)
Semantic action for non-terminal ‘ExpressionIdentifier’
source§fn string_literal(&mut self, arg: &StringLiteral)
fn string_literal(&mut self, arg: &StringLiteral)
Semantic action for non-terminal ‘StringLiteral’
source§fn fixed_point(&mut self, arg: &FixedPoint)
fn fixed_point(&mut self, arg: &FixedPoint)
Semantic action for non-terminal ‘FixedPoint’
source§fn assignment_operator(&mut self, arg: &AssignmentOperator)
fn assignment_operator(&mut self, arg: &AssignmentOperator)
Semantic action for non-terminal ‘AssignmentOperator’
source§fn operator01(&mut self, arg: &Operator01)
fn operator01(&mut self, arg: &Operator01)
Semantic action for non-terminal ‘Operator01’
source§fn operator02(&mut self, arg: &Operator02)
fn operator02(&mut self, arg: &Operator02)
Semantic action for non-terminal ‘Operator02’
source§fn operator03(&mut self, arg: &Operator03)
fn operator03(&mut self, arg: &Operator03)
Semantic action for non-terminal ‘Operator03’
source§fn operator04(&mut self, arg: &Operator04)
fn operator04(&mut self, arg: &Operator04)
Semantic action for non-terminal ‘Operator04’
source§fn operator05(&mut self, arg: &Operator05)
fn operator05(&mut self, arg: &Operator05)
Semantic action for non-terminal ‘Operator05’
source§fn operator06(&mut self, arg: &Operator06)
fn operator06(&mut self, arg: &Operator06)
Semantic action for non-terminal ‘Operator06’
source§fn operator07(&mut self, arg: &Operator07)
fn operator07(&mut self, arg: &Operator07)
Semantic action for non-terminal ‘Operator07’
source§fn operator08(&mut self, arg: &Operator08)
fn operator08(&mut self, arg: &Operator08)
Semantic action for non-terminal ‘Operator08’
source§fn operator09(&mut self, arg: &Operator09)
fn operator09(&mut self, arg: &Operator09)
Semantic action for non-terminal ‘Operator09’
source§fn operator10(&mut self, arg: &Operator10)
fn operator10(&mut self, arg: &Operator10)
Semantic action for non-terminal ‘Operator10’
source§fn operator11(&mut self, arg: &Operator11)
fn operator11(&mut self, arg: &Operator11)
Semantic action for non-terminal ‘Operator11’
source§fn unary_operator(&mut self, arg: &UnaryOperator)
fn unary_operator(&mut self, arg: &UnaryOperator)
Semantic action for non-terminal ‘UnaryOperator’
source§fn colon_colon(&mut self, arg: &ColonColon)
fn colon_colon(&mut self, arg: &ColonColon)
Semantic action for non-terminal ‘ColonColon’
source§fn minus_colon(&mut self, arg: &MinusColon)
fn minus_colon(&mut self, arg: &MinusColon)
Semantic action for non-terminal ‘MinusColon’
source§fn plus_colon(&mut self, arg: &PlusColon)
fn plus_colon(&mut self, arg: &PlusColon)
Semantic action for non-terminal ‘PlusColon’
source§fn always_comb(&mut self, arg: &AlwaysComb)
fn always_comb(&mut self, arg: &AlwaysComb)
Semantic action for non-terminal ‘AlwaysComb’
source§fn async_high(&mut self, arg: &AsyncHigh)
fn async_high(&mut self, arg: &AsyncHigh)
Semantic action for non-terminal ‘AsyncHigh’
source§fn localparam(&mut self, arg: &Localparam)
fn localparam(&mut self, arg: &Localparam)
Semantic action for non-terminal ‘Localparam’
source§fn identifier(&mut self, arg: &Identifier)
fn identifier(&mut self, arg: &Identifier)
Semantic action for non-terminal ‘Identifier’
source§fn integral_number(&mut self, arg: &IntegralNumber)
fn integral_number(&mut self, arg: &IntegralNumber)
Semantic action for non-terminal ‘IntegralNumber’
source§fn real_number(&mut self, arg: &RealNumber)
fn real_number(&mut self, arg: &RealNumber)
Semantic action for non-terminal ‘RealNumber’
source§fn expression(&mut self, arg: &Expression)
fn expression(&mut self, arg: &Expression)
Semantic action for non-terminal ‘Expression’
source§fn expression01(&mut self, arg: &Expression01)
fn expression01(&mut self, arg: &Expression01)
Semantic action for non-terminal ‘Expression01’
source§fn expression02(&mut self, arg: &Expression02)
fn expression02(&mut self, arg: &Expression02)
Semantic action for non-terminal ‘Expression02’
source§fn expression03(&mut self, arg: &Expression03)
fn expression03(&mut self, arg: &Expression03)
Semantic action for non-terminal ‘Expression03’
source§fn expression04(&mut self, arg: &Expression04)
fn expression04(&mut self, arg: &Expression04)
Semantic action for non-terminal ‘Expression04’
source§fn expression05(&mut self, arg: &Expression05)
fn expression05(&mut self, arg: &Expression05)
Semantic action for non-terminal ‘Expression05’
source§fn expression06(&mut self, arg: &Expression06)
fn expression06(&mut self, arg: &Expression06)
Semantic action for non-terminal ‘Expression06’
source§fn expression07(&mut self, arg: &Expression07)
fn expression07(&mut self, arg: &Expression07)
Semantic action for non-terminal ‘Expression07’
source§fn expression08(&mut self, arg: &Expression08)
fn expression08(&mut self, arg: &Expression08)
Semantic action for non-terminal ‘Expression08’
source§fn expression09(&mut self, arg: &Expression09)
fn expression09(&mut self, arg: &Expression09)
Semantic action for non-terminal ‘Expression09’
source§fn expression10(&mut self, arg: &Expression10)
fn expression10(&mut self, arg: &Expression10)
Semantic action for non-terminal ‘Expression10’
source§fn expression11(&mut self, arg: &Expression11)
fn expression11(&mut self, arg: &Expression11)
Semantic action for non-terminal ‘Expression11’
source§fn expression12(&mut self, arg: &Expression12)
fn expression12(&mut self, arg: &Expression12)
Semantic action for non-terminal ‘Expression12’
source§fn function_call(&mut self, arg: &FunctionCall)
fn function_call(&mut self, arg: &FunctionCall)
Semantic action for non-terminal ‘FunctionCall’
source§fn argument_list(&mut self, arg: &ArgumentList)
fn argument_list(&mut self, arg: &ArgumentList)
Semantic action for non-terminal ‘ArgumentList’
source§fn argument_item(&mut self, arg: &ArgumentItem)
fn argument_item(&mut self, arg: &ArgumentItem)
Semantic action for non-terminal ‘ArgumentItem’
source§fn concatenation_list(&mut self, arg: &ConcatenationList)
fn concatenation_list(&mut self, arg: &ConcatenationList)
Semantic action for non-terminal ‘ConcatenationList’
source§fn concatenation_item(&mut self, arg: &ConcatenationItem)
fn concatenation_item(&mut self, arg: &ConcatenationItem)
Semantic action for non-terminal ‘ConcatenationItem’
source§fn if_expression(&mut self, arg: &IfExpression)
fn if_expression(&mut self, arg: &IfExpression)
Semantic action for non-terminal ‘IfExpression’
source§fn case_expression(&mut self, arg: &CaseExpression)
fn case_expression(&mut self, arg: &CaseExpression)
Semantic action for non-terminal ‘CaseExpression’
source§fn type_expression(&mut self, arg: &TypeExpression)
fn type_expression(&mut self, arg: &TypeExpression)
Semantic action for non-terminal ‘TypeExpression’
source§fn range_operator(&mut self, arg: &RangeOperator)
fn range_operator(&mut self, arg: &RangeOperator)
Semantic action for non-terminal ‘RangeOperator’
source§fn fixed_type(&mut self, arg: &FixedType)
fn fixed_type(&mut self, arg: &FixedType)
Semantic action for non-terminal ‘FixedType’
source§fn variable_type(&mut self, arg: &VariableType)
fn variable_type(&mut self, arg: &VariableType)
Semantic action for non-terminal ‘VariableType’
source§fn type_modifier(&mut self, arg: &TypeModifier)
fn type_modifier(&mut self, arg: &TypeModifier)
Semantic action for non-terminal ‘TypeModifier’
source§fn scalar_type(&mut self, arg: &ScalarType)
fn scalar_type(&mut self, arg: &ScalarType)
Semantic action for non-terminal ‘ScalarType’
source§fn array_type(&mut self, arg: &ArrayType)
fn array_type(&mut self, arg: &ArrayType)
Semantic action for non-terminal ‘ArrayType’
source§fn assignment_statement(&mut self, arg: &AssignmentStatement)
fn assignment_statement(&mut self, arg: &AssignmentStatement)
Semantic action for non-terminal ‘AssignmentStatement’
source§fn if_statement(&mut self, arg: &IfStatement)
fn if_statement(&mut self, arg: &IfStatement)
Semantic action for non-terminal ‘IfStatement’
source§fn if_reset_statement(&mut self, arg: &IfResetStatement)
fn if_reset_statement(&mut self, arg: &IfResetStatement)
Semantic action for non-terminal ‘IfResetStatement’
source§fn return_statement(&mut self, arg: &ReturnStatement)
fn return_statement(&mut self, arg: &ReturnStatement)
Semantic action for non-terminal ‘ReturnStatement’
source§fn for_statement(&mut self, arg: &ForStatement)
fn for_statement(&mut self, arg: &ForStatement)
Semantic action for non-terminal ‘ForStatement’
source§fn case_statement(&mut self, arg: &CaseStatement)
fn case_statement(&mut self, arg: &CaseStatement)
Semantic action for non-terminal ‘CaseStatement’
source§fn attribute_list(&mut self, arg: &AttributeList)
fn attribute_list(&mut self, arg: &AttributeList)
Semantic action for non-terminal ‘AttributeList’
source§fn attribute_item(&mut self, arg: &AttributeItem)
fn attribute_item(&mut self, arg: &AttributeItem)
Semantic action for non-terminal ‘AttributeItem’
source§fn var_declaration(&mut self, arg: &VarDeclaration)
fn var_declaration(&mut self, arg: &VarDeclaration)
Semantic action for non-terminal ‘VarDeclaration’
source§fn localparam_declaration(&mut self, arg: &LocalparamDeclaration)
fn localparam_declaration(&mut self, arg: &LocalparamDeclaration)
Semantic action for non-terminal ‘LocalparamDeclaration’
source§fn always_ff_declaration(&mut self, arg: &AlwaysFfDeclaration)
fn always_ff_declaration(&mut self, arg: &AlwaysFfDeclaration)
Semantic action for non-terminal ‘AlwaysFfDeclaration’
source§fn always_ff_clock(&mut self, arg: &AlwaysFfClock)
fn always_ff_clock(&mut self, arg: &AlwaysFfClock)
Semantic action for non-terminal ‘AlwaysFfClock’
source§fn always_ff_reset(&mut self, arg: &AlwaysFfReset)
fn always_ff_reset(&mut self, arg: &AlwaysFfReset)
Semantic action for non-terminal ‘AlwaysFfReset’
source§fn always_comb_declaration(&mut self, arg: &AlwaysCombDeclaration)
fn always_comb_declaration(&mut self, arg: &AlwaysCombDeclaration)
Semantic action for non-terminal ‘AlwaysCombDeclaration’
source§fn assign_declaration(&mut self, arg: &AssignDeclaration)
fn assign_declaration(&mut self, arg: &AssignDeclaration)
Semantic action for non-terminal ‘AssignDeclaration’
source§fn modport_declaration(&mut self, arg: &ModportDeclaration)
fn modport_declaration(&mut self, arg: &ModportDeclaration)
Semantic action for non-terminal ‘ModportDeclaration’
source§fn modport_list(&mut self, arg: &ModportList)
fn modport_list(&mut self, arg: &ModportList)
Semantic action for non-terminal ‘ModportList’
source§fn modport_group(&mut self, arg: &ModportGroup)
fn modport_group(&mut self, arg: &ModportGroup)
Semantic action for non-terminal ‘ModportGroup’
source§fn modport_item(&mut self, arg: &ModportItem)
fn modport_item(&mut self, arg: &ModportItem)
Semantic action for non-terminal ‘ModportItem’
source§fn enum_declaration(&mut self, arg: &EnumDeclaration)
fn enum_declaration(&mut self, arg: &EnumDeclaration)
Semantic action for non-terminal ‘EnumDeclaration’
source§fn enum_group(&mut self, arg: &EnumGroup)
fn enum_group(&mut self, arg: &EnumGroup)
Semantic action for non-terminal ‘EnumGroup’
source§fn struct_declaration(&mut self, arg: &StructDeclaration)
fn struct_declaration(&mut self, arg: &StructDeclaration)
Semantic action for non-terminal ‘StructDeclaration’
source§fn struct_list(&mut self, arg: &StructList)
fn struct_list(&mut self, arg: &StructList)
Semantic action for non-terminal ‘StructList’
source§fn struct_group(&mut self, arg: &StructGroup)
fn struct_group(&mut self, arg: &StructGroup)
Semantic action for non-terminal ‘StructGroup’
source§fn struct_item(&mut self, arg: &StructItem)
fn struct_item(&mut self, arg: &StructItem)
Semantic action for non-terminal ‘StructItem’
source§fn inst_declaration(&mut self, arg: &InstDeclaration)
fn inst_declaration(&mut self, arg: &InstDeclaration)
Semantic action for non-terminal ‘InstDeclaration’
source§fn inst_parameter(&mut self, arg: &InstParameter)
fn inst_parameter(&mut self, arg: &InstParameter)
Semantic action for non-terminal ‘InstParameter’
source§fn inst_parameter_list(&mut self, arg: &InstParameterList)
fn inst_parameter_list(&mut self, arg: &InstParameterList)
Semantic action for non-terminal ‘InstParameterList’
source§fn inst_parameter_group(&mut self, arg: &InstParameterGroup)
fn inst_parameter_group(&mut self, arg: &InstParameterGroup)
Semantic action for non-terminal ‘InstParameterGroup’
source§fn inst_parameter_item(&mut self, arg: &InstParameterItem)
fn inst_parameter_item(&mut self, arg: &InstParameterItem)
Semantic action for non-terminal ‘InstParameterItem’
source§fn inst_port_list(&mut self, arg: &InstPortList)
fn inst_port_list(&mut self, arg: &InstPortList)
Semantic action for non-terminal ‘InstPortList’
source§fn inst_port_group(&mut self, arg: &InstPortGroup)
fn inst_port_group(&mut self, arg: &InstPortGroup)
Semantic action for non-terminal ‘InstPortGroup’
source§fn inst_port_item(&mut self, arg: &InstPortItem)
fn inst_port_item(&mut self, arg: &InstPortItem)
Semantic action for non-terminal ‘InstPortItem’
source§fn with_parameter(&mut self, arg: &WithParameter)
fn with_parameter(&mut self, arg: &WithParameter)
Semantic action for non-terminal ‘WithParameter’
source§fn with_parameter_list(&mut self, arg: &WithParameterList)
fn with_parameter_list(&mut self, arg: &WithParameterList)
Semantic action for non-terminal ‘WithParameterList’
source§fn with_parameter_group(&mut self, arg: &WithParameterGroup)
fn with_parameter_group(&mut self, arg: &WithParameterGroup)
Semantic action for non-terminal ‘WithParameterGroup’
source§fn with_parameter_item(&mut self, arg: &WithParameterItem)
fn with_parameter_item(&mut self, arg: &WithParameterItem)
Semantic action for non-terminal ‘WithParameterItem’
source§fn port_declaration(&mut self, arg: &PortDeclaration)
fn port_declaration(&mut self, arg: &PortDeclaration)
Semantic action for non-terminal ‘PortDeclaration’
source§fn port_declaration_list(&mut self, arg: &PortDeclarationList)
fn port_declaration_list(&mut self, arg: &PortDeclarationList)
Semantic action for non-terminal ‘PortDeclarationList’
source§fn port_declaration_group(&mut self, arg: &PortDeclarationGroup)
fn port_declaration_group(&mut self, arg: &PortDeclarationGroup)
Semantic action for non-terminal ‘PortDeclarationGroup’
source§fn port_declaration_item(&mut self, arg: &PortDeclarationItem)
fn port_declaration_item(&mut self, arg: &PortDeclarationItem)
Semantic action for non-terminal ‘PortDeclarationItem’
source§fn function_declaration(&mut self, arg: &FunctionDeclaration)
fn function_declaration(&mut self, arg: &FunctionDeclaration)
Semantic action for non-terminal ‘FunctionDeclaration’
source§fn function_item(&mut self, arg: &FunctionItem)
fn function_item(&mut self, arg: &FunctionItem)
Semantic action for non-terminal ‘FunctionItem’
source§fn import_declaration(&mut self, arg: &ImportDeclaration)
fn import_declaration(&mut self, arg: &ImportDeclaration)
Semantic action for non-terminal ‘ImportDeclaration’
source§fn export_declaration(&mut self, arg: &ExportDeclaration)
fn export_declaration(&mut self, arg: &ExportDeclaration)
Semantic action for non-terminal ‘ExportDeclaration’
source§fn module_declaration(&mut self, arg: &ModuleDeclaration)
fn module_declaration(&mut self, arg: &ModuleDeclaration)
Semantic action for non-terminal ‘ModuleDeclaration’
source§fn module_if_declaration(&mut self, arg: &ModuleIfDeclaration)
fn module_if_declaration(&mut self, arg: &ModuleIfDeclaration)
Semantic action for non-terminal ‘ModuleIfDeclaration’
source§fn module_for_declaration(&mut self, arg: &ModuleForDeclaration)
fn module_for_declaration(&mut self, arg: &ModuleForDeclaration)
Semantic action for non-terminal ‘ModuleForDeclaration’
source§fn module_named_block(&mut self, arg: &ModuleNamedBlock)
fn module_named_block(&mut self, arg: &ModuleNamedBlock)
Semantic action for non-terminal ‘ModuleNamedBlock’
source§fn module_optional_named_block(&mut self, arg: &ModuleOptionalNamedBlock)
fn module_optional_named_block(&mut self, arg: &ModuleOptionalNamedBlock)
Semantic action for non-terminal ‘ModuleOptionalNamedBlock’
source§fn module_group(&mut self, arg: &ModuleGroup)
fn module_group(&mut self, arg: &ModuleGroup)
Semantic action for non-terminal ‘ModuleGroup’
source§fn module_item(&mut self, arg: &ModuleItem)
fn module_item(&mut self, arg: &ModuleItem)
Semantic action for non-terminal ‘ModuleItem’
source§fn interface_declaration(&mut self, arg: &InterfaceDeclaration)
fn interface_declaration(&mut self, arg: &InterfaceDeclaration)
Semantic action for non-terminal ‘InterfaceDeclaration’
source§fn interface_if_declaration(&mut self, arg: &InterfaceIfDeclaration)
fn interface_if_declaration(&mut self, arg: &InterfaceIfDeclaration)
Semantic action for non-terminal ‘InterfaceIfDeclaration’
source§fn interface_for_declaration(&mut self, arg: &InterfaceForDeclaration)
fn interface_for_declaration(&mut self, arg: &InterfaceForDeclaration)
Semantic action for non-terminal ‘InterfaceForDeclaration’
source§fn interface_named_block(&mut self, arg: &InterfaceNamedBlock)
fn interface_named_block(&mut self, arg: &InterfaceNamedBlock)
Semantic action for non-terminal ‘InterfaceNamedBlock’
source§fn interface_optional_named_block(&mut self, arg: &InterfaceOptionalNamedBlock)
fn interface_optional_named_block(&mut self, arg: &InterfaceOptionalNamedBlock)
Semantic action for non-terminal ‘InterfaceOptionalNamedBlock’
source§fn interface_group(&mut self, arg: &InterfaceGroup)
fn interface_group(&mut self, arg: &InterfaceGroup)
Semantic action for non-terminal ‘InterfaceGroup’
source§fn interface_item(&mut self, arg: &InterfaceItem)
fn interface_item(&mut self, arg: &InterfaceItem)
Semantic action for non-terminal ‘InterfaceItem’
source§fn package_declaration(&mut self, arg: &PackageDeclaration)
fn package_declaration(&mut self, arg: &PackageDeclaration)
Semantic action for non-terminal ‘PackageDeclaration’
source§fn package_group(&mut self, arg: &PackageGroup)
fn package_group(&mut self, arg: &PackageGroup)
Semantic action for non-terminal ‘PackageGroup’
source§fn package_item(&mut self, arg: &PackageItem)
fn package_item(&mut self, arg: &PackageItem)
Semantic action for non-terminal ‘PackageItem’
source§fn description_group(&mut self, arg: &DescriptionGroup)
fn description_group(&mut self, arg: &DescriptionGroup)
Semantic action for non-terminal ‘DescriptionGroup’
source§fn description_item(&mut self, arg: &DescriptionItem)
fn description_item(&mut self, arg: &DescriptionItem)
Semantic action for non-terminal ‘DescriptionItem’
fn get_handlers(&mut self) -> Option<Vec<&mut dyn Handler>>
Auto Trait Implementations§
impl RefUnwindSafe for Finder
impl Send for Finder
impl Sync for Finder
impl Unpin for Finder
impl UnwindSafe for Finder
Blanket Implementations§
§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,
Set the foreground color generically Read more
§fn bg<C>(&self) -> BgColorDisplay<'_, C, Self>where
C: Color,
fn bg<C>(&self) -> BgColorDisplay<'_, C, Self>where
C: Color,
Set the background color generically. Read more
§fn on_yellow<'a>(&'a self) -> BgColorDisplay<'a, Yellow, Self>
fn on_yellow<'a>(&'a self) -> BgColorDisplay<'a, Yellow, Self>
Change the background color to yellow
§fn magenta<'a>(&'a self) -> FgColorDisplay<'a, Magenta, Self>
fn magenta<'a>(&'a self) -> FgColorDisplay<'a, Magenta, Self>
Change the foreground color to magenta
§fn on_magenta<'a>(&'a self) -> BgColorDisplay<'a, Magenta, Self>
fn on_magenta<'a>(&'a self) -> BgColorDisplay<'a, Magenta, Self>
Change the background color to magenta
§fn on_purple<'a>(&'a self) -> BgColorDisplay<'a, Magenta, Self>
fn on_purple<'a>(&'a self) -> BgColorDisplay<'a, Magenta, Self>
Change the background color to purple
§fn default_color<'a>(&'a self) -> FgColorDisplay<'a, Default, Self>
fn default_color<'a>(&'a self) -> FgColorDisplay<'a, Default, Self>
Change the foreground color to the terminal default
§fn on_default_color<'a>(&'a self) -> BgColorDisplay<'a, Default, Self>
fn on_default_color<'a>(&'a self) -> BgColorDisplay<'a, Default, Self>
Change the background color to the terminal default
§fn bright_black<'a>(&'a self) -> FgColorDisplay<'a, BrightBlack, Self>
fn bright_black<'a>(&'a self) -> FgColorDisplay<'a, BrightBlack, Self>
Change the foreground color to bright black
§fn on_bright_black<'a>(&'a self) -> BgColorDisplay<'a, BrightBlack, Self>
fn on_bright_black<'a>(&'a self) -> BgColorDisplay<'a, BrightBlack, Self>
Change the background color to bright black
§fn bright_red<'a>(&'a self) -> FgColorDisplay<'a, BrightRed, Self>
fn bright_red<'a>(&'a self) -> FgColorDisplay<'a, BrightRed, Self>
Change the foreground color to bright red
§fn on_bright_red<'a>(&'a self) -> BgColorDisplay<'a, BrightRed, Self>
fn on_bright_red<'a>(&'a self) -> BgColorDisplay<'a, BrightRed, Self>
Change the background color to bright red
§fn bright_green<'a>(&'a self) -> FgColorDisplay<'a, BrightGreen, Self>
fn bright_green<'a>(&'a self) -> FgColorDisplay<'a, BrightGreen, Self>
Change the foreground color to bright green
§fn on_bright_green<'a>(&'a self) -> BgColorDisplay<'a, BrightGreen, Self>
fn on_bright_green<'a>(&'a self) -> BgColorDisplay<'a, BrightGreen, Self>
Change the background color to bright green
§fn bright_yellow<'a>(&'a self) -> FgColorDisplay<'a, BrightYellow, Self>
fn bright_yellow<'a>(&'a self) -> FgColorDisplay<'a, BrightYellow, Self>
Change the foreground color to bright yellow
§fn on_bright_yellow<'a>(&'a self) -> BgColorDisplay<'a, BrightYellow, Self>
fn on_bright_yellow<'a>(&'a self) -> BgColorDisplay<'a, BrightYellow, Self>
Change the background color to bright yellow
§fn bright_blue<'a>(&'a self) -> FgColorDisplay<'a, BrightBlue, Self>
fn bright_blue<'a>(&'a self) -> FgColorDisplay<'a, BrightBlue, Self>
Change the foreground color to bright blue
§fn on_bright_blue<'a>(&'a self) -> BgColorDisplay<'a, BrightBlue, Self>
fn on_bright_blue<'a>(&'a self) -> BgColorDisplay<'a, BrightBlue, Self>
Change the background color to bright blue
§fn bright_magenta<'a>(&'a self) -> FgColorDisplay<'a, BrightMagenta, Self>
fn bright_magenta<'a>(&'a self) -> FgColorDisplay<'a, BrightMagenta, Self>
Change the foreground color to bright magenta
§fn on_bright_magenta<'a>(&'a self) -> BgColorDisplay<'a, BrightMagenta, Self>
fn on_bright_magenta<'a>(&'a self) -> BgColorDisplay<'a, BrightMagenta, Self>
Change the background color to bright magenta
§fn bright_purple<'a>(&'a self) -> FgColorDisplay<'a, BrightMagenta, Self>
fn bright_purple<'a>(&'a self) -> FgColorDisplay<'a, BrightMagenta, Self>
Change the foreground color to bright purple
§fn on_bright_purple<'a>(&'a self) -> BgColorDisplay<'a, BrightMagenta, Self>
fn on_bright_purple<'a>(&'a self) -> BgColorDisplay<'a, BrightMagenta, Self>
Change the background color to bright purple
§fn bright_cyan<'a>(&'a self) -> FgColorDisplay<'a, BrightCyan, Self>
fn bright_cyan<'a>(&'a self) -> FgColorDisplay<'a, BrightCyan, Self>
Change the foreground color to bright cyan
§fn on_bright_cyan<'a>(&'a self) -> BgColorDisplay<'a, BrightCyan, Self>
fn on_bright_cyan<'a>(&'a self) -> BgColorDisplay<'a, BrightCyan, Self>
Change the background color to bright cyan
§fn bright_white<'a>(&'a self) -> FgColorDisplay<'a, BrightWhite, Self>
fn bright_white<'a>(&'a self) -> FgColorDisplay<'a, BrightWhite, Self>
Change the foreground color to bright white
§fn on_bright_white<'a>(&'a self) -> BgColorDisplay<'a, BrightWhite, Self>
fn on_bright_white<'a>(&'a self) -> BgColorDisplay<'a, BrightWhite, Self>
Change the background color to bright white
§fn blink_fast<'a>(&'a self) -> BlinkFastDisplay<'a, Self>
fn blink_fast<'a>(&'a self) -> BlinkFastDisplay<'a, Self>
Make the text blink (but fast!)
Hide the text
§fn strikethrough<'a>(&'a self) -> StrikeThroughDisplay<'a, Self>
fn strikethrough<'a>(&'a self) -> StrikeThroughDisplay<'a, Self>
Cross out the text
§fn color<Color>(&self, color: Color) -> FgDynColorDisplay<'_, Color, Self>where
Color: DynColor,
fn color<Color>(&self, color: Color) -> FgDynColorDisplay<'_, Color, Self>where
Color: DynColor,
Set the foreground color at runtime. Only use if you do not know which color will be used at
compile-time. If the color is constant, use either
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,
Set the background color at runtime. Only use if you do not know what color to use at
compile-time. If the color is constant, use either
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>
Set the foreground color to a specific RGB value.
§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>
Set the background color to a specific RGB value.
§fn truecolor(&self, r: u8, g: u8, b: u8) -> FgDynColorDisplay<'_, Rgb, Self>
fn truecolor(&self, r: u8, g: u8, b: u8) -> FgDynColorDisplay<'_, Rgb, Self>
Sets the foreground color to an RGB value.
§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>
Sets the background color to an RGB value.