Skip to main content

GeneralSecurityProfile

Trait GeneralSecurityProfile 

Source
pub trait GeneralSecurityProfile {
    // Required methods
    fn identifier_allowed(self) -> bool;
    fn identifier_type(self) -> Option<IdentifierType>;
}
Expand description

Methods for determining characters not restricted from use for identifiers.

Required Methods§

Source

fn identifier_allowed(self) -> bool

Returns whether the character is not restricted from use for identifiers.

Source

fn identifier_type(self) -> Option<IdentifierType>

Returns the identifier type

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl GeneralSecurityProfile for char

Implementors§