Skip to main content

TokenRange

Struct TokenRange 

Source
pub struct TokenRange {
    pub beg: Token,
    pub end: Token,
}

Fields§

§beg: Token§end: Token

Implementations§

Source§

impl TokenRange

Source

pub fn new(beg: &VerylToken, end: &VerylToken) -> Self

Source

pub fn from_range(beg: &TokenRange, end: &TokenRange) -> Self

Source

pub fn include(&self, path: PathId, line: u32, column: u32) -> bool

Source

pub fn offset(&mut self, value: u32)

Source

pub fn set_beg(&mut self, value: TokenRange)

Source

pub fn set_end(&mut self, value: TokenRange)

Source

pub fn source(&self) -> TokenSource

Trait Implementations§

Source§

impl Clone for TokenRange

Source§

fn clone(&self) -> TokenRange

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for TokenRange

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for TokenRange

Source§

fn default() -> TokenRange

Returns the “default value” for a type. Read more
Source§

impl From<&Alias> for TokenRange

Source§

fn from(value: &Alias) -> Self

Converts to this type from the input type.
Source§

impl From<&AliasDeclaration> for TokenRange

Source§

fn from(value: &AliasDeclaration) -> Self

Converts to this type from the input type.
Source§

impl From<&AllBit> for TokenRange

Source§

fn from(value: &AllBit) -> Self

Converts to this type from the input type.
Source§

impl From<&AlwaysComb> for TokenRange

Source§

fn from(value: &AlwaysComb) -> Self

Converts to this type from the input type.
Source§

impl From<&AlwaysCombDeclaration> for TokenRange

Source§

fn from(value: &AlwaysCombDeclaration) -> Self

Converts to this type from the input type.
Source§

impl From<&AlwaysFf> for TokenRange

Source§

fn from(value: &AlwaysFf) -> Self

Converts to this type from the input type.
Source§

impl From<&AlwaysFfClock> for TokenRange

Source§

fn from(value: &AlwaysFfClock) -> Self

Converts to this type from the input type.
Source§

impl From<&AlwaysFfDeclaration> for TokenRange

Source§

fn from(value: &AlwaysFfDeclaration) -> Self

Converts to this type from the input type.
Source§

impl From<&AlwaysFfEventList> for TokenRange

Source§

fn from(value: &AlwaysFfEventList) -> Self

Converts to this type from the input type.
Source§

impl From<&AlwaysFfReset> for TokenRange

Source§

fn from(value: &AlwaysFfReset) -> Self

Converts to this type from the input type.
Source§

impl From<&Any> for TokenRange

Source§

fn from(value: &Any) -> Self

Converts to this type from the input type.
Source§

impl From<&ArgumentExpression> for TokenRange

Source§

fn from(value: &ArgumentExpression) -> Self

Converts to this type from the input type.
Source§

impl From<&ArgumentItem> for TokenRange

Source§

fn from(value: &ArgumentItem) -> Self

Converts to this type from the input type.
Source§

impl From<&ArgumentList> for TokenRange

Source§

fn from(value: &ArgumentList) -> Self

Converts to this type from the input type.
Source§

impl From<&Array> for TokenRange

Source§

fn from(value: &Array) -> Self

Converts to this type from the input type.
Source§

impl From<&ArrayLiteralItem> for TokenRange

Source§

fn from(value: &ArrayLiteralItem) -> Self

Converts to this type from the input type.
Source§

impl From<&ArrayLiteralList> for TokenRange

Source§

fn from(value: &ArrayLiteralList) -> Self

Converts to this type from the input type.
Source§

impl From<&ArrayType> for TokenRange

Source§

fn from(value: &ArrayType) -> Self

Converts to this type from the input type.
Source§

impl From<&As> for TokenRange

Source§

fn from(value: &As) -> Self

Converts to this type from the input type.
Source§

impl From<&Assign> for TokenRange

Source§

fn from(value: &Assign) -> Self

Converts to this type from the input type.
Source§

impl From<&AssignConcatenationItem> for TokenRange

Source§

fn from(value: &AssignConcatenationItem) -> Self

Converts to this type from the input type.
Source§

impl From<&AssignConcatenationList> for TokenRange

Source§

fn from(value: &AssignConcatenationList) -> Self

Converts to this type from the input type.
Source§

impl From<&AssignDeclaration> for TokenRange

Source§

fn from(value: &AssignDeclaration) -> Self

Converts to this type from the input type.
Source§

impl From<&AssignDestination> for TokenRange

Source§

fn from(value: &AssignDestination) -> Self

Converts to this type from the input type.
Source§

impl From<&Assignment> for TokenRange

Source§

fn from(value: &Assignment) -> Self

Converts to this type from the input type.
Source§

impl From<&AssignmentOperator> for TokenRange

Source§

fn from(value: &AssignmentOperator) -> Self

Converts to this type from the input type.
Source§

impl From<&Attribute> for TokenRange

Source§

fn from(value: &Attribute) -> Self

Converts to this type from the input type.
Source§

impl From<&AttributeItem> for TokenRange

Source§

fn from(value: &AttributeItem) -> Self

Converts to this type from the input type.
Source§

impl From<&AttributeList> for TokenRange

Source§

fn from(value: &AttributeList) -> Self

Converts to this type from the input type.
Source§

impl From<&BBool> for TokenRange

Source§

fn from(value: &BBool) -> Self

Converts to this type from the input type.
Source§

impl From<&BaseLess> for TokenRange

Source§

fn from(value: &BaseLess) -> Self

Converts to this type from the input type.
Source§

impl From<&Based> for TokenRange

Source§

fn from(value: &Based) -> Self

Converts to this type from the input type.
Source§

impl From<&Bind> for TokenRange

Source§

fn from(value: &Bind) -> Self

Converts to this type from the input type.
Source§

impl From<&BindDeclaration> for TokenRange

Source§

fn from(value: &BindDeclaration) -> Self

Converts to this type from the input type.
Source§

impl From<&Bit> for TokenRange

Source§

fn from(value: &Bit) -> Self

Converts to this type from the input type.
Source§

impl From<&BooleanLiteral> for TokenRange

Source§

fn from(value: &BooleanLiteral) -> Self

Converts to this type from the input type.
Source§

impl From<&Break> for TokenRange

Source§

fn from(value: &Break) -> Self

Converts to this type from the input type.
Source§

impl From<&BreakStatement> for TokenRange

Source§

fn from(value: &BreakStatement) -> Self

Converts to this type from the input type.
Source§

impl From<&Case> for TokenRange

Source§

fn from(value: &Case) -> Self

Converts to this type from the input type.
Source§

impl From<&CaseCondition> for TokenRange

Source§

fn from(value: &CaseCondition) -> Self

Converts to this type from the input type.
Source§

impl From<&CaseExpression> for TokenRange

Source§

fn from(value: &CaseExpression) -> Self

Converts to this type from the input type.
Source§

impl From<&CaseItem> for TokenRange

Source§

fn from(value: &CaseItem) -> Self

Converts to this type from the input type.
Source§

impl From<&CaseStatement> for TokenRange

Source§

fn from(value: &CaseStatement) -> Self

Converts to this type from the input type.
Source§

impl From<&CastingType> for TokenRange

Source§

fn from(value: &CastingType) -> Self

Converts to this type from the input type.
Source§

impl From<&Clock> for TokenRange

Source§

fn from(value: &Clock) -> Self

Converts to this type from the input type.
Source§

impl From<&ClockDomain> for TokenRange

Source§

fn from(value: &ClockDomain) -> Self

Converts to this type from the input type.
Source§

impl From<&ClockNegedge> for TokenRange

Source§

fn from(value: &ClockNegedge) -> Self

Converts to this type from the input type.
Source§

impl From<&ClockPosedge> for TokenRange

Source§

fn from(value: &ClockPosedge) -> Self

Converts to this type from the input type.
Source§

impl From<&Colon> for TokenRange

Source§

fn from(value: &Colon) -> Self

Converts to this type from the input type.
Source§

impl From<&ColonColon> for TokenRange

Source§

fn from(value: &ColonColon) -> Self

Converts to this type from the input type.
Source§

impl From<&ColonColonLAngle> for TokenRange

Source§

fn from(value: &ColonColonLAngle) -> Self

Converts to this type from the input type.
Source§

impl From<&Comma> for TokenRange

Source§

fn from(value: &Comma) -> Self

Converts to this type from the input type.
Source§

impl From<&ComponentInstantiation> for TokenRange

Source§

fn from(value: &ComponentInstantiation) -> Self

Converts to this type from the input type.
Source§

impl From<&ConcatenationAssignment> for TokenRange

Source§

fn from(value: &ConcatenationAssignment) -> Self

Converts to this type from the input type.
Source§

impl From<&ConcatenationItem> for TokenRange

Source§

fn from(value: &ConcatenationItem) -> Self

Converts to this type from the input type.
Source§

impl From<&ConcatenationList> for TokenRange

Source§

fn from(value: &ConcatenationList) -> Self

Converts to this type from the input type.
Source§

impl From<&Connect> for TokenRange

Source§

fn from(value: &Connect) -> Self

Converts to this type from the input type.
Source§

impl From<&ConnectDeclaration> for TokenRange

Source§

fn from(value: &ConnectDeclaration) -> Self

Converts to this type from the input type.
Source§

impl From<&Const> for TokenRange

Source§

fn from(value: &Const) -> Self

Converts to this type from the input type.
Source§

impl From<&ConstDeclaration> for TokenRange

Source§

fn from(value: &ConstDeclaration) -> Self

Converts to this type from the input type.
Source§

impl From<&ConstDeclarationGroup> for TokenRange

Source§

fn from(value: &ConstDeclarationGroup) -> Self

Converts to this type from the input type.
Source§

impl From<&Converse> for TokenRange

Source§

fn from(value: &Converse) -> Self

Converts to this type from the input type.
Source§

impl From<&Defaul> for TokenRange

Source§

fn from(value: &Defaul) -> Self

Converts to this type from the input type.
Source§

impl From<&DescriptionGroup> for TokenRange

Source§

fn from(value: &DescriptionGroup) -> Self

Converts to this type from the input type.
Source§

impl From<&DescriptionItem> for TokenRange

Source§

fn from(value: &DescriptionItem) -> Self

Converts to this type from the input type.
Source§

impl From<&DiamondOperator> for TokenRange

Source§

fn from(value: &DiamondOperator) -> Self

Converts to this type from the input type.
Source§

impl From<&Direction> for TokenRange

Source§

fn from(value: &Direction) -> Self

Converts to this type from the input type.
Source§

impl From<&DollarIdentifier> for TokenRange

Source§

fn from(value: &DollarIdentifier) -> Self

Converts to this type from the input type.
Source§

impl From<&Dot> for TokenRange

Source§

fn from(value: &Dot) -> Self

Converts to this type from the input type.
Source§

impl From<&DotDot> for TokenRange

Source§

fn from(value: &DotDot) -> Self

Converts to this type from the input type.
Source§

impl From<&DotDotEqu> for TokenRange

Source§

fn from(value: &DotDotEqu) -> Self

Converts to this type from the input type.
Source§

impl From<&Else> for TokenRange

Source§

fn from(value: &Else) -> Self

Converts to this type from the input type.
Source§

impl From<&Embed> for TokenRange

Source§

fn from(value: &Embed) -> Self

Converts to this type from the input type.
Source§

impl From<&EmbedContent> for TokenRange

Source§

fn from(value: &EmbedContent) -> Self

Converts to this type from the input type.
Source§

impl From<&EmbedDeclaration> for TokenRange

Source§

fn from(value: &EmbedDeclaration) -> Self

Converts to this type from the input type.
Source§

impl From<&EmbedItem> for TokenRange

Source§

fn from(value: &EmbedItem) -> Self

Converts to this type from the input type.
Source§

impl From<&EmbedLBrace> for TokenRange

Source§

fn from(value: &EmbedLBrace) -> Self

Converts to this type from the input type.
Source§

impl From<&EmbedRBrace> for TokenRange

Source§

fn from(value: &EmbedRBrace) -> Self

Converts to this type from the input type.
Source§

impl From<&EmbedScopedIdentifier> for TokenRange

Source§

fn from(value: &EmbedScopedIdentifier) -> Self

Converts to this type from the input type.
Source§

impl From<&Enum> for TokenRange

Source§

fn from(value: &Enum) -> Self

Converts to this type from the input type.
Source§

impl From<&EnumDeclaration> for TokenRange

Source§

fn from(value: &EnumDeclaration) -> Self

Converts to this type from the input type.
Source§

impl From<&EnumGroup> for TokenRange

Source§

fn from(value: &EnumGroup) -> Self

Converts to this type from the input type.
Source§

impl From<&EnumItem> for TokenRange

Source§

fn from(value: &EnumItem) -> Self

Converts to this type from the input type.
Source§

impl From<&EnumList> for TokenRange

Source§

fn from(value: &EnumList) -> Self

Converts to this type from the input type.
Source§

impl From<&Equ> for TokenRange

Source§

fn from(value: &Equ) -> Self

Converts to this type from the input type.
Source§

impl From<&EscapedLBrace> for TokenRange

Source§

fn from(value: &EscapedLBrace) -> Self

Converts to this type from the input type.
Source§

impl From<&EscapedRBrace> for TokenRange

Source§

fn from(value: &EscapedRBrace) -> Self

Converts to this type from the input type.
Source§

impl From<&Exponent> for TokenRange

Source§

fn from(value: &Exponent) -> Self

Converts to this type from the input type.
Source§

impl From<&Expression> for TokenRange

Source§

fn from(value: &Expression) -> Self

Converts to this type from the input type.
Source§

impl From<&Expression01> for TokenRange

Source§

fn from(value: &Expression01) -> Self

Converts to this type from the input type.
Source§

impl From<&Expression02> for TokenRange

Source§

fn from(value: &Expression02) -> Self

Converts to this type from the input type.
Source§

impl From<&ExpressionIdentifier> for TokenRange

Source§

fn from(value: &ExpressionIdentifier) -> Self

Converts to this type from the input type.
Source§

impl From<&F32> for TokenRange

Source§

fn from(value: &F32) -> Self

Converts to this type from the input type.
Source§

impl From<&F64> for TokenRange

Source§

fn from(value: &F64) -> Self

Converts to this type from the input type.
Source§

impl From<&Factor> for TokenRange

Source§

fn from(value: &Factor) -> Self

Converts to this type from the input type.
Source§

impl From<&FactorType> for TokenRange

Source§

fn from(value: &FactorType) -> Self

Converts to this type from the input type.
Source§

impl From<&FactorTypeFactor> for TokenRange

Source§

fn from(value: &FactorTypeFactor) -> Self

Converts to this type from the input type.
Source§

impl From<&False> for TokenRange

Source§

fn from(value: &False) -> Self

Converts to this type from the input type.
Source§

impl From<&Final> for TokenRange

Source§

fn from(value: &Final) -> Self

Converts to this type from the input type.
Source§

impl From<&FinalDeclaration> for TokenRange

Source§

fn from(value: &FinalDeclaration) -> Self

Converts to this type from the input type.
Source§

impl From<&FixedPoint> for TokenRange

Source§

fn from(value: &FixedPoint) -> Self

Converts to this type from the input type.
Source§

impl From<&FixedType> for TokenRange

Source§

fn from(value: &FixedType) -> Self

Converts to this type from the input type.
Source§

impl From<&For> for TokenRange

Source§

fn from(value: &For) -> Self

Converts to this type from the input type.
Source§

impl From<&ForStatement> for TokenRange

Source§

fn from(value: &ForStatement) -> Self

Converts to this type from the input type.
Source§

impl From<&Function> for TokenRange

Source§

fn from(value: &Function) -> Self

Converts to this type from the input type.
Source§

impl From<&FunctionCall> for TokenRange

Source§

fn from(value: &FunctionCall) -> Self

Converts to this type from the input type.
Source§

impl From<&FunctionDeclaration> for TokenRange

Source§

fn from(value: &FunctionDeclaration) -> Self

Converts to this type from the input type.
Source§

impl From<&GenerateBlockDeclaration> for TokenRange

Source§

fn from(value: &GenerateBlockDeclaration) -> Self

Converts to this type from the input type.
Source§

impl From<&GenerateForDeclaration> for TokenRange

Source§

fn from(value: &GenerateForDeclaration) -> Self

Converts to this type from the input type.
Source§

impl From<&GenerateGroup> for TokenRange

Source§

fn from(value: &GenerateGroup) -> Self

Converts to this type from the input type.
Source§

impl From<&GenerateIfDeclaration> for TokenRange

Source§

fn from(value: &GenerateIfDeclaration) -> Self

Converts to this type from the input type.
Source§

impl From<&GenerateIfDeclarationList> for TokenRange

Source§

fn from(value: &GenerateIfDeclarationList) -> Self

Converts to this type from the input type.
Source§

impl From<&GenerateItem> for TokenRange

Source§

fn from(value: &GenerateItem) -> Self

Converts to this type from the input type.
Source§

impl From<&GenerateNamedBlock> for TokenRange

Source§

fn from(value: &GenerateNamedBlock) -> Self

Converts to this type from the input type.
Source§

impl From<&GenerateOptionalNamedBlock> for TokenRange

Source§

fn from(value: &GenerateOptionalNamedBlock) -> Self

Converts to this type from the input type.
Source§

impl From<&GenericArgIdentifier> for TokenRange

Source§

fn from(value: &GenericArgIdentifier) -> Self

Converts to this type from the input type.
Source§

impl From<&GenericBound> for TokenRange

Source§

fn from(value: &GenericBound) -> Self

Converts to this type from the input type.
Source§

impl From<&GenericProtoBound> for TokenRange

Source§

fn from(value: &GenericProtoBound) -> Self

Converts to this type from the input type.
Source§

impl From<&Hash> for TokenRange

Source§

fn from(value: &Hash) -> Self

Converts to this type from the input type.
Source§

impl From<&HashLBracket> for TokenRange

Source§

fn from(value: &HashLBracket) -> Self

Converts to this type from the input type.
Source§

impl From<&HierarchicalIdentifier> for TokenRange

Source§

fn from(value: &HierarchicalIdentifier) -> Self

Converts to this type from the input type.
Source§

impl From<&I16> for TokenRange

Source§

fn from(value: &I16) -> Self

Converts to this type from the input type.
Source§

impl From<&I32> for TokenRange

Source§

fn from(value: &I32) -> Self

Converts to this type from the input type.
Source§

impl From<&I64> for TokenRange

Source§

fn from(value: &I64) -> Self

Converts to this type from the input type.
Source§

impl From<&I8> for TokenRange

Source§

fn from(value: &I8) -> Self

Converts to this type from the input type.
Source§

impl From<&Identifier> for TokenRange

Source§

fn from(value: &Identifier) -> Self

Converts to this type from the input type.
Source§

impl From<&IdentifierFactor> for TokenRange

Source§

fn from(value: &IdentifierFactor) -> Self

Converts to this type from the input type.
Source§

impl From<&IdentifierStatement> for TokenRange

Source§

fn from(value: &IdentifierStatement) -> Self

Converts to this type from the input type.
Source§

impl From<&If> for TokenRange

Source§

fn from(value: &If) -> Self

Converts to this type from the input type.
Source§

impl From<&IfExpression> for TokenRange

Source§

fn from(value: &IfExpression) -> Self

Converts to this type from the input type.
Source§

impl From<&IfReset> for TokenRange

Source§

fn from(value: &IfReset) -> Self

Converts to this type from the input type.
Source§

impl From<&IfResetStatement> for TokenRange

Source§

fn from(value: &IfResetStatement) -> Self

Converts to this type from the input type.
Source§

impl From<&IfResetStatementList> for TokenRange

Source§

fn from(value: &IfResetStatementList) -> Self

Converts to this type from the input type.
Source§

impl From<&IfStatement> for TokenRange

Source§

fn from(value: &IfStatement) -> Self

Converts to this type from the input type.
Source§

impl From<&IfStatementList> for TokenRange

Source§

fn from(value: &IfStatementList) -> Self

Converts to this type from the input type.
Source§

impl From<&Import> for TokenRange

Source§

fn from(value: &Import) -> Self

Converts to this type from the input type.
Source§

impl From<&ImportDeclaration> for TokenRange

Source§

fn from(value: &ImportDeclaration) -> Self

Converts to this type from the input type.
Source§

impl From<&In> for TokenRange

Source§

fn from(value: &In) -> Self

Converts to this type from the input type.
Source§

impl From<&Include> for TokenRange

Source§

fn from(value: &Include) -> Self

Converts to this type from the input type.
Source§

impl From<&IncludeDeclaration> for TokenRange

Source§

fn from(value: &IncludeDeclaration) -> Self

Converts to this type from the input type.
Source§

impl From<&Initial> for TokenRange

Source§

fn from(value: &Initial) -> Self

Converts to this type from the input type.
Source§

impl From<&InitialDeclaration> for TokenRange

Source§

fn from(value: &InitialDeclaration) -> Self

Converts to this type from the input type.
Source§

impl From<&Inout> for TokenRange

Source§

fn from(value: &Inout) -> Self

Converts to this type from the input type.
Source§

impl From<&Input> for TokenRange

Source§

fn from(value: &Input) -> Self

Converts to this type from the input type.
Source§

impl From<&Inside> for TokenRange

Source§

fn from(value: &Inside) -> Self

Converts to this type from the input type.
Source§

impl From<&InsideExpression> for TokenRange

Source§

fn from(value: &InsideExpression) -> Self

Converts to this type from the input type.
Source§

impl From<&Inst> for TokenRange

Source§

fn from(value: &Inst) -> Self

Converts to this type from the input type.
Source§

impl From<&InstDeclaration> for TokenRange

Source§

fn from(value: &InstDeclaration) -> Self

Converts to this type from the input type.
Source§

impl From<&InstParameter> for TokenRange

Source§

fn from(value: &InstParameter) -> Self

Converts to this type from the input type.
Source§

impl From<&InstParameterGroup> for TokenRange

Source§

fn from(value: &InstParameterGroup) -> Self

Converts to this type from the input type.
Source§

impl From<&InstParameterItem> for TokenRange

Source§

fn from(value: &InstParameterItem) -> Self

Converts to this type from the input type.
Source§

impl From<&InstParameterList> for TokenRange

Source§

fn from(value: &InstParameterList) -> Self

Converts to this type from the input type.
Source§

impl From<&InstPort> for TokenRange

Source§

fn from(value: &InstPort) -> Self

Converts to this type from the input type.
Source§

impl From<&InstPortGroup> for TokenRange

Source§

fn from(value: &InstPortGroup) -> Self

Converts to this type from the input type.
Source§

impl From<&InstPortItem> for TokenRange

Source§

fn from(value: &InstPortItem) -> Self

Converts to this type from the input type.
Source§

impl From<&InstPortList> for TokenRange

Source§

fn from(value: &InstPortList) -> Self

Converts to this type from the input type.
Source§

impl From<&IntegralNumber> for TokenRange

Source§

fn from(value: &IntegralNumber) -> Self

Converts to this type from the input type.
Source§

impl From<&Interface> for TokenRange

Source§

fn from(value: &Interface) -> Self

Converts to this type from the input type.
Source§

impl From<&InterfaceDeclaration> for TokenRange

Source§

fn from(value: &InterfaceDeclaration) -> Self

Converts to this type from the input type.
Source§

impl From<&InterfaceGroup> for TokenRange

Source§

fn from(value: &InterfaceGroup) -> Self

Converts to this type from the input type.
Source§

impl From<&InterfaceItem> for TokenRange

Source§

fn from(value: &InterfaceItem) -> Self

Converts to this type from the input type.
Source§

impl From<&LAngle> for TokenRange

Source§

fn from(value: &LAngle) -> Self

Converts to this type from the input type.
Source§

impl From<&LBool> for TokenRange

Source§

fn from(value: &LBool) -> Self

Converts to this type from the input type.
Source§

impl From<&LBrace> for TokenRange

Source§

fn from(value: &LBrace) -> Self

Converts to this type from the input type.
Source§

impl From<&LBracket> for TokenRange

Source§

fn from(value: &LBracket) -> Self

Converts to this type from the input type.
Source§

impl From<&LParen> for TokenRange

Source§

fn from(value: &LParen) -> Self

Converts to this type from the input type.
Source§

impl From<&LTMinus> for TokenRange

Source§

fn from(value: &LTMinus) -> Self

Converts to this type from the input type.
Source§

impl From<&Let> for TokenRange

Source§

fn from(value: &Let) -> Self

Converts to this type from the input type.
Source§

impl From<&LetDeclaration> for TokenRange

Source§

fn from(value: &LetDeclaration) -> Self

Converts to this type from the input type.
Source§

impl From<&LetStatement> for TokenRange

Source§

fn from(value: &LetStatement) -> Self

Converts to this type from the input type.
Source§

impl From<&Logic> for TokenRange

Source§

fn from(value: &Logic) -> Self

Converts to this type from the input type.
Source§

impl From<&Lsb> for TokenRange

Source§

fn from(value: &Lsb) -> Self

Converts to this type from the input type.
Source§

impl From<&MinusColon> for TokenRange

Source§

fn from(value: &MinusColon) -> Self

Converts to this type from the input type.
Source§

impl From<&MinusGT> for TokenRange

Source§

fn from(value: &MinusGT) -> Self

Converts to this type from the input type.
Source§

impl From<&Modport> for TokenRange

Source§

fn from(value: &Modport) -> Self

Converts to this type from the input type.
Source§

impl From<&ModportDeclaration> for TokenRange

Source§

fn from(value: &ModportDeclaration) -> Self

Converts to this type from the input type.
Source§

impl From<&ModportDefault> for TokenRange

Source§

fn from(value: &ModportDefault) -> Self

Converts to this type from the input type.
Source§

impl From<&ModportGroup> for TokenRange

Source§

fn from(value: &ModportGroup) -> Self

Converts to this type from the input type.
Source§

impl From<&ModportItem> for TokenRange

Source§

fn from(value: &ModportItem) -> Self

Converts to this type from the input type.
Source§

impl From<&ModportList> for TokenRange

Source§

fn from(value: &ModportList) -> Self

Converts to this type from the input type.
Source§

impl From<&Module> for TokenRange

Source§

fn from(value: &Module) -> Self

Converts to this type from the input type.
Source§

impl From<&ModuleDeclaration> for TokenRange

Source§

fn from(value: &ModuleDeclaration) -> Self

Converts to this type from the input type.
Source§

impl From<&ModuleGroup> for TokenRange

Source§

fn from(value: &ModuleGroup) -> Self

Converts to this type from the input type.
Source§

impl From<&ModuleItem> for TokenRange

Source§

fn from(value: &ModuleItem) -> Self

Converts to this type from the input type.
Source§

impl From<&Msb> for TokenRange

Source§

fn from(value: &Msb) -> Self

Converts to this type from the input type.
Source§

impl From<&Number> for TokenRange

Source§

fn from(value: &Number) -> Self

Converts to this type from the input type.
Source§

impl From<&Operator01> for TokenRange

Source§

fn from(value: &Operator01) -> Self

Converts to this type from the input type.
Source§

impl From<&Operator02> for TokenRange

Source§

fn from(value: &Operator02) -> Self

Converts to this type from the input type.
Source§

impl From<&Operator03> for TokenRange

Source§

fn from(value: &Operator03) -> Self

Converts to this type from the input type.
Source§

impl From<&Operator04> for TokenRange

Source§

fn from(value: &Operator04) -> Self

Converts to this type from the input type.
Source§

impl From<&Operator05> for TokenRange

Source§

fn from(value: &Operator05) -> Self

Converts to this type from the input type.
Source§

impl From<&Operator06> for TokenRange

Source§

fn from(value: &Operator06) -> Self

Converts to this type from the input type.
Source§

impl From<&Operator07> for TokenRange

Source§

fn from(value: &Operator07) -> Self

Converts to this type from the input type.
Source§

impl From<&Operator08> for TokenRange

Source§

fn from(value: &Operator08) -> Self

Converts to this type from the input type.
Source§

impl From<&Output> for TokenRange

Source§

fn from(value: &Output) -> Self

Converts to this type from the input type.
Source§

impl From<&Outside> for TokenRange

Source§

fn from(value: &Outside) -> Self

Converts to this type from the input type.
Source§

impl From<&OutsideExpression> for TokenRange

Source§

fn from(value: &OutsideExpression) -> Self

Converts to this type from the input type.
Source§

impl From<&P16> for TokenRange

Source§

fn from(value: &P16) -> Self

Converts to this type from the input type.
Source§

impl From<&P32> for TokenRange

Source§

fn from(value: &P32) -> Self

Converts to this type from the input type.
Source§

impl From<&P64> for TokenRange

Source§

fn from(value: &P64) -> Self

Converts to this type from the input type.
Source§

impl From<&P8> for TokenRange

Source§

fn from(value: &P8) -> Self

Converts to this type from the input type.
Source§

impl From<&Package> for TokenRange

Source§

fn from(value: &Package) -> Self

Converts to this type from the input type.
Source§

impl From<&PackageDeclaration> for TokenRange

Source§

fn from(value: &PackageDeclaration) -> Self

Converts to this type from the input type.
Source§

impl From<&PackageGroup> for TokenRange

Source§

fn from(value: &PackageGroup) -> Self

Converts to this type from the input type.
Source§

impl From<&PackageItem> for TokenRange

Source§

fn from(value: &PackageItem) -> Self

Converts to this type from the input type.
Source§

impl From<&Param> for TokenRange

Source§

fn from(value: &Param) -> Self

Converts to this type from the input type.
Source§

impl From<&PlusColon> for TokenRange

Source§

fn from(value: &PlusColon) -> Self

Converts to this type from the input type.
Source§

impl From<&PortDeclaration> for TokenRange

Source§

fn from(value: &PortDeclaration) -> Self

Converts to this type from the input type.
Source§

impl From<&PortDeclarationGroup> for TokenRange

Source§

fn from(value: &PortDeclarationGroup) -> Self

Converts to this type from the input type.
Source§

impl From<&PortDeclarationItem> for TokenRange

Source§

fn from(value: &PortDeclarationItem) -> Self

Converts to this type from the input type.
Source§

impl From<&PortDeclarationItemGroup> for TokenRange

Source§

fn from(value: &PortDeclarationItemGroup) -> Self

Converts to this type from the input type.
Source§

impl From<&PortDeclarationList> for TokenRange

Source§

fn from(value: &PortDeclarationList) -> Self

Converts to this type from the input type.
Source§

impl From<&PortDefaultValue> for TokenRange

Source§

fn from(value: &PortDefaultValue) -> Self

Converts to this type from the input type.
Source§

impl From<&PortTypeAbstract> for TokenRange

Source§

fn from(value: &PortTypeAbstract) -> Self

Converts to this type from the input type.
Source§

impl From<&PortTypeConcrete> for TokenRange

Source§

fn from(value: &PortTypeConcrete) -> Self

Converts to this type from the input type.
Source§

impl From<&Proto> for TokenRange

Source§

fn from(value: &Proto) -> Self

Converts to this type from the input type.
Source§

impl From<&ProtoAliasDeclaration> for TokenRange

Source§

fn from(value: &ProtoAliasDeclaration) -> Self

Converts to this type from the input type.
Source§

impl From<&ProtoConstDeclaration> for TokenRange

Source§

fn from(value: &ProtoConstDeclaration) -> Self

Converts to this type from the input type.
Source§

impl From<&ProtoConstDeclarationGroup> for TokenRange

Source§

fn from(value: &ProtoConstDeclarationGroup) -> Self

Converts to this type from the input type.
Source§

impl From<&ProtoDeclaration> for TokenRange

Source§

fn from(value: &ProtoDeclaration) -> Self

Converts to this type from the input type.
Source§

impl From<&ProtoFunctionDeclaration> for TokenRange

Source§

fn from(value: &ProtoFunctionDeclaration) -> Self

Converts to this type from the input type.
Source§

impl From<&ProtoInterfaceDeclaration> for TokenRange

Source§

fn from(value: &ProtoInterfaceDeclaration) -> Self

Converts to this type from the input type.
Source§

impl From<&ProtoInterfaceItem> for TokenRange

Source§

fn from(value: &ProtoInterfaceItem) -> Self

Converts to this type from the input type.
Source§

impl From<&ProtoModuleDeclaration> for TokenRange

Source§

fn from(value: &ProtoModuleDeclaration) -> Self

Converts to this type from the input type.
Source§

impl From<&ProtoPacakgeItem> for TokenRange

Source§

fn from(value: &ProtoPacakgeItem) -> Self

Converts to this type from the input type.
Source§

impl From<&ProtoPackageDeclaration> for TokenRange

Source§

fn from(value: &ProtoPackageDeclaration) -> Self

Converts to this type from the input type.
Source§

impl From<&ProtoTypeDefDeclaration> for TokenRange

Source§

fn from(value: &ProtoTypeDefDeclaration) -> Self

Converts to this type from the input type.
Source§

impl From<&Pub> for TokenRange

Source§

fn from(value: &Pub) -> Self

Converts to this type from the input type.
Source§

impl From<&PublicDescriptionItem> for TokenRange

Source§

fn from(value: &PublicDescriptionItem) -> Self

Converts to this type from the input type.
Source§

impl From<&Question> for TokenRange

Source§

fn from(value: &Question) -> Self

Converts to this type from the input type.
Source§

impl From<&Quote> for TokenRange

Source§

fn from(value: &Quote) -> Self

Converts to this type from the input type.
Source§

impl From<&QuoteLBrace> for TokenRange

Source§

fn from(value: &QuoteLBrace) -> Self

Converts to this type from the input type.
Source§

impl From<&RAngle> for TokenRange

Source§

fn from(value: &RAngle) -> Self

Converts to this type from the input type.
Source§

impl From<&RBrace> for TokenRange

Source§

fn from(value: &RBrace) -> Self

Converts to this type from the input type.
Source§

impl From<&RBracket> for TokenRange

Source§

fn from(value: &RBracket) -> Self

Converts to this type from the input type.
Source§

impl From<&RParen> for TokenRange

Source§

fn from(value: &RParen) -> Self

Converts to this type from the input type.
Source§

impl From<&Range> for TokenRange

Source§

fn from(value: &Range) -> Self

Converts to this type from the input type.
Source§

impl From<&RangeItem> for TokenRange

Source§

fn from(value: &RangeItem) -> Self

Converts to this type from the input type.
Source§

impl From<&RangeList> for TokenRange

Source§

fn from(value: &RangeList) -> Self

Converts to this type from the input type.
Source§

impl From<&RangeOperator> for TokenRange

Source§

fn from(value: &RangeOperator) -> Self

Converts to this type from the input type.
Source§

impl From<&RealNumber> for TokenRange

Source§

fn from(value: &RealNumber) -> Self

Converts to this type from the input type.
Source§

impl From<&Repeat> for TokenRange

Source§

fn from(value: &Repeat) -> Self

Converts to this type from the input type.
Source§

impl From<&Reset> for TokenRange

Source§

fn from(value: &Reset) -> Self

Converts to this type from the input type.
Source§

impl From<&ResetAsyncHigh> for TokenRange

Source§

fn from(value: &ResetAsyncHigh) -> Self

Converts to this type from the input type.
Source§

impl From<&ResetAsyncLow> for TokenRange

Source§

fn from(value: &ResetAsyncLow) -> Self

Converts to this type from the input type.
Source§

impl From<&ResetSyncHigh> for TokenRange

Source§

fn from(value: &ResetSyncHigh) -> Self

Converts to this type from the input type.
Source§

impl From<&ResetSyncLow> for TokenRange

Source§

fn from(value: &ResetSyncLow) -> Self

Converts to this type from the input type.
Source§

impl From<&Return> for TokenRange

Source§

fn from(value: &Return) -> Self

Converts to this type from the input type.
Source§

impl From<&ReturnStatement> for TokenRange

Source§

fn from(value: &ReturnStatement) -> Self

Converts to this type from the input type.
Source§

impl From<&Same> for TokenRange

Source§

fn from(value: &Same) -> Self

Converts to this type from the input type.
Source§

impl From<&ScalarType> for TokenRange

Source§

fn from(value: &ScalarType) -> Self

Converts to this type from the input type.
Source§

impl From<&ScopedIdentifier> for TokenRange

Source§

fn from(value: &ScopedIdentifier) -> Self

Converts to this type from the input type.
Source§

impl From<&Select> for TokenRange

Source§

fn from(value: &Select) -> Self

Converts to this type from the input type.
Source§

impl From<&SelectOperator> for TokenRange

Source§

fn from(value: &SelectOperator) -> Self

Converts to this type from the input type.
Source§

impl From<&Semicolon> for TokenRange

Source§

fn from(value: &Semicolon) -> Self

Converts to this type from the input type.
Source§

impl From<&Signed> for TokenRange

Source§

fn from(value: &Signed) -> Self

Converts to this type from the input type.
Source§

impl From<&Star> for TokenRange

Source§

fn from(value: &Star) -> Self

Converts to this type from the input type.
Source§

impl From<&Start> for TokenRange

Source§

fn from(value: &Start) -> Self

Converts to this type from the input type.
Source§

impl From<&Statement> for TokenRange

Source§

fn from(value: &Statement) -> Self

Converts to this type from the input type.
Source§

impl From<&StatementBlock> for TokenRange

Source§

fn from(value: &StatementBlock) -> Self

Converts to this type from the input type.
Source§

impl From<&StatementBlockGroup> for TokenRange

Source§

fn from(value: &StatementBlockGroup) -> Self

Converts to this type from the input type.
Source§

impl From<&StatementBlockItem> for TokenRange

Source§

fn from(value: &StatementBlockItem) -> Self

Converts to this type from the input type.
Source§

impl From<&Step> for TokenRange

Source§

fn from(value: &Step) -> Self

Converts to this type from the input type.
Source§

impl From<&Strin> for TokenRange

Source§

fn from(value: &Strin) -> Self

Converts to this type from the input type.
Source§

impl From<&StringLiteral> for TokenRange

Source§

fn from(value: &StringLiteral) -> Self

Converts to this type from the input type.
Source§

impl From<&Struct> for TokenRange

Source§

fn from(value: &Struct) -> Self

Converts to this type from the input type.
Source§

impl From<&StructConstructor> for TokenRange

Source§

fn from(value: &StructConstructor) -> Self

Converts to this type from the input type.
Source§

impl From<&StructConstructorItem> for TokenRange

Source§

fn from(value: &StructConstructorItem) -> Self

Converts to this type from the input type.
Source§

impl From<&StructConstructorList> for TokenRange

Source§

fn from(value: &StructConstructorList) -> Self

Converts to this type from the input type.
Source§

impl From<&StructUnion> for TokenRange

Source§

fn from(value: &StructUnion) -> Self

Converts to this type from the input type.
Source§

impl From<&StructUnionDeclaration> for TokenRange

Source§

fn from(value: &StructUnionDeclaration) -> Self

Converts to this type from the input type.
Source§

impl From<&StructUnionGroup> for TokenRange

Source§

fn from(value: &StructUnionGroup) -> Self

Converts to this type from the input type.
Source§

impl From<&StructUnionItem> for TokenRange

Source§

fn from(value: &StructUnionItem) -> Self

Converts to this type from the input type.
Source§

impl From<&StructUnionList> for TokenRange

Source§

fn from(value: &StructUnionList) -> Self

Converts to this type from the input type.
Source§

impl From<&Switch> for TokenRange

Source§

fn from(value: &Switch) -> Self

Converts to this type from the input type.
Source§

impl From<&SwitchCondition> for TokenRange

Source§

fn from(value: &SwitchCondition) -> Self

Converts to this type from the input type.
Source§

impl From<&SwitchExpression> for TokenRange

Source§

fn from(value: &SwitchExpression) -> Self

Converts to this type from the input type.
Source§

impl From<&SwitchItem> for TokenRange

Source§

fn from(value: &SwitchItem) -> Self

Converts to this type from the input type.
Source§

impl From<&SwitchStatement> for TokenRange

Source§

fn from(value: &SwitchStatement) -> Self

Converts to this type from the input type.
Source§

impl From<&Token> for TokenRange

Source§

fn from(value: &Token) -> Self

Converts to this type from the input type.
Source§

impl From<&TokenRange> for SourceSpan

Source§

fn from(x: &TokenRange) -> Self

Converts to this type from the input type.
Source§

impl From<&Tri> for TokenRange

Source§

fn from(value: &Tri) -> Self

Converts to this type from the input type.
Source§

impl From<&TripleLBrace> for TokenRange

Source§

fn from(value: &TripleLBrace) -> Self

Converts to this type from the input type.
Source§

impl From<&TripleRBrace> for TokenRange

Source§

fn from(value: &TripleRBrace) -> Self

Converts to this type from the input type.
Source§

impl From<&True> for TokenRange

Source§

fn from(value: &True) -> Self

Converts to this type from the input type.
Source§

impl From<&Type> for TokenRange

Source§

fn from(value: &Type) -> Self

Converts to this type from the input type.
Source§

impl From<&TypeDefDeclaration> for TokenRange

Source§

fn from(value: &TypeDefDeclaration) -> Self

Converts to this type from the input type.
Source§

impl From<&TypeExpression> for TokenRange

Source§

fn from(value: &TypeExpression) -> Self

Converts to this type from the input type.
Source§

impl From<&TypeModifier> for TokenRange

Source§

fn from(value: &TypeModifier) -> Self

Converts to this type from the input type.
Source§

impl From<&U16> for TokenRange

Source§

fn from(value: &U16) -> Self

Converts to this type from the input type.
Source§

impl From<&U32> for TokenRange

Source§

fn from(value: &U32) -> Self

Converts to this type from the input type.
Source§

impl From<&U64> for TokenRange

Source§

fn from(value: &U64) -> Self

Converts to this type from the input type.
Source§

impl From<&U8> for TokenRange

Source§

fn from(value: &U8) -> Self

Converts to this type from the input type.
Source§

impl From<&UnaryOperator> for TokenRange

Source§

fn from(value: &UnaryOperator) -> Self

Converts to this type from the input type.
Source§

impl From<&Union> for TokenRange

Source§

fn from(value: &Union) -> Self

Converts to this type from the input type.
Source§

impl From<&Unsafe> for TokenRange

Source§

fn from(value: &Unsafe) -> Self

Converts to this type from the input type.
Source§

impl From<&UnsafeBlock> for TokenRange

Source§

fn from(value: &UnsafeBlock) -> Self

Converts to this type from the input type.
Source§

impl From<&UserDefinedType> for TokenRange

Source§

fn from(value: &UserDefinedType) -> Self

Converts to this type from the input type.
Source§

impl From<&Var> for TokenRange

Source§

fn from(value: &Var) -> Self

Converts to this type from the input type.
Source§

impl From<&VarDeclaration> for TokenRange

Source§

fn from(value: &VarDeclaration) -> Self

Converts to this type from the input type.
Source§

impl From<&VariableType> for TokenRange

Source§

fn from(value: &VariableType) -> Self

Converts to this type from the input type.
Source§

impl From<&Veryl> for TokenRange

Source§

fn from(value: &Veryl) -> Self

Converts to this type from the input type.
Source§

impl From<&VerylToken> for TokenRange

Source§

fn from(value: &VerylToken) -> Self

Converts to this type from the input type.
Source§

impl From<&Width> for TokenRange

Source§

fn from(value: &Width) -> Self

Converts to this type from the input type.
Source§

impl From<&WithGenericArgument> for TokenRange

Source§

fn from(value: &WithGenericArgument) -> Self

Converts to this type from the input type.
Source§

impl From<&WithGenericArgumentItem> for TokenRange

Source§

fn from(value: &WithGenericArgumentItem) -> Self

Converts to this type from the input type.
Source§

impl From<&WithGenericArgumentList> for TokenRange

Source§

fn from(value: &WithGenericArgumentList) -> Self

Converts to this type from the input type.
Source§

impl From<&WithGenericParameter> for TokenRange

Source§

fn from(value: &WithGenericParameter) -> Self

Converts to this type from the input type.
Source§

impl From<&WithGenericParameterItem> for TokenRange

Source§

fn from(value: &WithGenericParameterItem) -> Self

Converts to this type from the input type.
Source§

impl From<&WithGenericParameterList> for TokenRange

Source§

fn from(value: &WithGenericParameterList) -> Self

Converts to this type from the input type.
Source§

impl From<&WithParameter> for TokenRange

Source§

fn from(value: &WithParameter) -> Self

Converts to this type from the input type.
Source§

impl From<&WithParameterGroup> for TokenRange

Source§

fn from(value: &WithParameterGroup) -> Self

Converts to this type from the input type.
Source§

impl From<&WithParameterItem> for TokenRange

Source§

fn from(value: &WithParameterItem) -> Self

Converts to this type from the input type.
Source§

impl From<&WithParameterItemGroup0> for TokenRange

Source§

fn from(value: &WithParameterItemGroup0) -> Self

Converts to this type from the input type.
Source§

impl From<&WithParameterList> for TokenRange

Source§

fn from(value: &WithParameterList) -> Self

Converts to this type from the input type.
Source§

impl From<Token> for TokenRange

Source§

fn from(value: Token) -> Self

Converts to this type from the input type.
Source§

impl From<TokenRange> for SourceSpan

Source§

fn from(x: TokenRange) -> Self

Converts to this type from the input type.
Source§

impl Hash for TokenRange

Source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · Source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
Source§

impl Ord for TokenRange

Source§

fn cmp(&self, other: &TokenRange) -> Ordering

This method returns an Ordering between self and other. Read more
1.21.0 · Source§

fn max(self, other: Self) -> Self
where Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 · Source§

fn min(self, other: Self) -> Self
where Self: Sized,

Compares and returns the minimum of two values. Read more
1.50.0 · Source§

fn clamp(self, min: Self, max: Self) -> Self
where Self: Sized,

Restrict a value to a certain interval. Read more
Source§

impl PartialEq for TokenRange

Source§

fn eq(&self, other: &TokenRange) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl PartialOrd for TokenRange

Source§

fn partial_cmp(&self, other: &TokenRange) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · Source§

fn lt(&self, other: &Rhs) -> bool

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · Source§

fn le(&self, other: &Rhs) -> bool

Tests less than or equal to (for self and other) and is used by the <= operator. Read more
1.0.0 · Source§

fn gt(&self, other: &Rhs) -> bool

Tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · Source§

fn ge(&self, other: &Rhs) -> bool

Tests greater than or equal to (for self and other) and is used by the >= operator. Read more
Source§

impl Copy for TokenRange

Source§

impl Eq for TokenRange

Source§

impl StructuralPartialEq for TokenRange

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<Q, K> Comparable<K> for Q
where Q: Ord + ?Sized, K: Borrow<Q> + ?Sized,

Source§

fn compare(&self, key: &K) -> Ordering

Compare self to key and return their ordering.
Source§

impl<Q, K> Equivalent<K> for Q
where Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,

Source§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
Source§

impl<Q, K> Equivalent<K> for Q
where Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,

Source§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
Source§

impl<Q, K> Equivalent<K> for Q
where Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,

Source§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<D> OwoColorize for D

Source§

fn fg<C>(&self) -> FgColorDisplay<'_, C, Self>
where C: Color,

Set the foreground color generically Read more
Source§

fn bg<C>(&self) -> BgColorDisplay<'_, C, Self>
where C: Color,

Set the background color generically. Read more
Source§

fn black(&self) -> FgColorDisplay<'_, Black, Self>

Change the foreground color to black
Source§

fn on_black(&self) -> BgColorDisplay<'_, Black, Self>

Change the background color to black
Source§

fn red(&self) -> FgColorDisplay<'_, Red, Self>

Change the foreground color to red
Source§

fn on_red(&self) -> BgColorDisplay<'_, Red, Self>

Change the background color to red
Source§

fn green(&self) -> FgColorDisplay<'_, Green, Self>

Change the foreground color to green
Source§

fn on_green(&self) -> BgColorDisplay<'_, Green, Self>

Change the background color to green
Source§

fn yellow(&self) -> FgColorDisplay<'_, Yellow, Self>

Change the foreground color to yellow
Source§

fn on_yellow(&self) -> BgColorDisplay<'_, Yellow, Self>

Change the background color to yellow
Source§

fn blue(&self) -> FgColorDisplay<'_, Blue, Self>

Change the foreground color to blue
Source§

fn on_blue(&self) -> BgColorDisplay<'_, Blue, Self>

Change the background color to blue
Source§

fn magenta(&self) -> FgColorDisplay<'_, Magenta, Self>

Change the foreground color to magenta
Source§

fn on_magenta(&self) -> BgColorDisplay<'_, Magenta, Self>

Change the background color to magenta
Source§

fn purple(&self) -> FgColorDisplay<'_, Magenta, Self>

Change the foreground color to purple
Source§

fn on_purple(&self) -> BgColorDisplay<'_, Magenta, Self>

Change the background color to purple
Source§

fn cyan(&self) -> FgColorDisplay<'_, Cyan, Self>

Change the foreground color to cyan
Source§

fn on_cyan(&self) -> BgColorDisplay<'_, Cyan, Self>

Change the background color to cyan
Source§

fn white(&self) -> FgColorDisplay<'_, White, Self>

Change the foreground color to white
Source§

fn on_white(&self) -> BgColorDisplay<'_, White, Self>

Change the background color to white
Source§

fn default_color(&self) -> FgColorDisplay<'_, Default, Self>

Change the foreground color to the terminal default
Source§

fn on_default_color(&self) -> BgColorDisplay<'_, Default, Self>

Change the background color to the terminal default
Source§

fn bright_black(&self) -> FgColorDisplay<'_, BrightBlack, Self>

Change the foreground color to bright black
Source§

fn on_bright_black(&self) -> BgColorDisplay<'_, BrightBlack, Self>

Change the background color to bright black
Source§

fn bright_red(&self) -> FgColorDisplay<'_, BrightRed, Self>

Change the foreground color to bright red
Source§

fn on_bright_red(&self) -> BgColorDisplay<'_, BrightRed, Self>

Change the background color to bright red
Source§

fn bright_green(&self) -> FgColorDisplay<'_, BrightGreen, Self>

Change the foreground color to bright green
Source§

fn on_bright_green(&self) -> BgColorDisplay<'_, BrightGreen, Self>

Change the background color to bright green
Source§

fn bright_yellow(&self) -> FgColorDisplay<'_, BrightYellow, Self>

Change the foreground color to bright yellow
Source§

fn on_bright_yellow(&self) -> BgColorDisplay<'_, BrightYellow, Self>

Change the background color to bright yellow
Source§

fn bright_blue(&self) -> FgColorDisplay<'_, BrightBlue, Self>

Change the foreground color to bright blue
Source§

fn on_bright_blue(&self) -> BgColorDisplay<'_, BrightBlue, Self>

Change the background color to bright blue
Source§

fn bright_magenta(&self) -> FgColorDisplay<'_, BrightMagenta, Self>

Change the foreground color to bright magenta
Source§

fn on_bright_magenta(&self) -> BgColorDisplay<'_, BrightMagenta, Self>

Change the background color to bright magenta
Source§

fn bright_purple(&self) -> FgColorDisplay<'_, BrightMagenta, Self>

Change the foreground color to bright purple
Source§

fn on_bright_purple(&self) -> BgColorDisplay<'_, BrightMagenta, Self>

Change the background color to bright purple
Source§

fn bright_cyan(&self) -> FgColorDisplay<'_, BrightCyan, Self>

Change the foreground color to bright cyan
Source§

fn on_bright_cyan(&self) -> BgColorDisplay<'_, BrightCyan, Self>

Change the background color to bright cyan
Source§

fn bright_white(&self) -> FgColorDisplay<'_, BrightWhite, Self>

Change the foreground color to bright white
Source§

fn on_bright_white(&self) -> BgColorDisplay<'_, BrightWhite, Self>

Change the background color to bright white
Source§

fn bold(&self) -> BoldDisplay<'_, Self>

Make the text bold
Source§

fn dimmed(&self) -> DimDisplay<'_, Self>

Make the text dim
Source§

fn italic(&self) -> ItalicDisplay<'_, Self>

Make the text italicized
Source§

fn underline(&self) -> UnderlineDisplay<'_, Self>

Make the text underlined
Make the text blink
Make the text blink (but fast!)
Source§

fn reversed(&self) -> ReversedDisplay<'_, Self>

Swap the foreground and background colors
Source§

fn hidden(&self) -> HiddenDisplay<'_, Self>

Hide the text
Source§

fn strikethrough(&self) -> StrikeThroughDisplay<'_, Self>

Cross out the text
Source§

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
Source§

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
Source§

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.
Source§

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.
Source§

fn truecolor(&self, r: u8, g: u8, b: u8) -> FgDynColorDisplay<'_, Rgb, Self>

Sets the foreground color to an RGB value.
Source§

fn on_truecolor(&self, r: u8, g: u8, b: u8) -> BgDynColorDisplay<'_, Rgb, Self>

Sets the background color to an RGB value.
Source§

fn style(&self, style: Style) -> Styled<&Self>

Apply a runtime-determined style
Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<N> NodeTrait for N
where N: Copy + Ord + Hash,