[][src]Struct vhdl_parser::Latin1String

pub struct Latin1String {
    pub bytes: Vec<u8>,
}

Fields

bytes: Vec<u8>

Methods

impl Latin1String[src]

pub fn empty() -> Latin1String[src]

pub fn new(bytes: &[u8]) -> Latin1String[src]

pub fn from_vec(bytes: Vec<u8>) -> Latin1String[src]

pub fn len(&self) -> usize[src]

pub fn is_empty(&self) -> bool[src]

pub fn lowercase(chr: u8) -> u8[src]

pub fn make_lowercase(&mut self)[src]

pub fn to_lowercase(&self) -> Latin1String[src]

pub fn from_utf8(string: &str) -> Result<Latin1String, Utf8ToLatin1Error>[src]

Trait Implementations

impl Clone for Latin1String[src]

impl Debug for Latin1String[src]

impl Display for Latin1String[src]

impl Eq for Latin1String[src]

impl Hash for Latin1String[src]

impl PartialEq<Latin1String> for Latin1String[src]

impl StructuralEq for Latin1String[src]

impl StructuralPartialEq for Latin1String[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.