#[repr(u16)]
pub enum AttributeName {
Show 101 variants Accesskey, Align, AllowBreak, Alt, Base, Bgcolor, BindingTime, BlueprintValue, Break, Class, Colname, Colnum, Color, Cols, Colsep, Colwidth, Coords, Dest, EditHeight, EditWidth, Editfit, Editscale, EnumTable, Filename, Fit, Float, Font, Frame, Generator, Gid, Height, HelpEntry, Href, HtmlFit, HtmlHeight, HtmlScale, HtmlWidth, Index, IntervalType, ItemLabelPos, KeepWithPrevious, L, Level, MimeType, Morerows, Name, NamePattern, Nameend, Namest, Nohref, Notation, NoteType, Onblur, Onclick, Ondblclick, Onfocus, Onkeydown, Onkeypress, Onkeyup, Onmousedown, Onmousemove, Onmouseout, Onmouseover, Onmouseup, Orient, Pgwide, ResolutionPolicy, Rotate, Rowsep, S, Scale, Sd, Shape, ShortLabel, ShowContent, ShowResourceAliasName, ShowResourceCategory, ShowResourceLongName, ShowResourceNumber, ShowResourcePage, ShowResourceShortName, ShowResourceType, ShowSee, Si, Spanname, Style, T, Tabindex, Tabstyle, TexRender, Title, Type, Uuid, Validity, Valign, View, Width, xmlSpace, xmlns, xmlnsXsi, xsiSchemalocation,
}
Expand description

Enum of all attribute names in Autosar

Variants§

§

Accesskey

ACCESSKEY

§

Align

ALIGN

§

AllowBreak

ALLOW-BREAK

§

Alt

ALT

§

Base

BASE

§

Bgcolor

BGCOLOR

§

BindingTime

BINDING-TIME

§

BlueprintValue

BLUEPRINT-VALUE

§

Break

BREAK

§

Class

CLASS

§

Colname

COLNAME

§

Colnum

COLNUM

§

Color

COLOR

§

Cols

COLS

§

Colsep

COLSEP

§

Colwidth

COLWIDTH

§

Coords

COORDS

§

Dest

DEST

§

EditHeight

EDIT-HEIGHT

§

EditWidth

EDIT-WIDTH

§

Editfit

EDITFIT

§

Editscale

EDITSCALE

§

EnumTable

ENUM-TABLE

§

Filename

FILENAME

§

Fit

FIT

§

Float

FLOAT

§

Font

FONT

§

Frame

FRAME

§

Generator

GENERATOR

§

Gid

GID

§

Height

HEIGHT

§

HelpEntry

HELP-ENTRY

§

Href

HREF

§

HtmlFit

HTML-FIT

§

HtmlHeight

HTML-HEIGHT

§

HtmlScale

HTML-SCALE

§

HtmlWidth

HTML-WIDTH

§

Index

INDEX

§

IntervalType

INTERVAL-TYPE

§

ItemLabelPos

ITEM-LABEL-POS

§

KeepWithPrevious

KEEP-WITH-PREVIOUS

§

L

L

§

Level

LEVEL

§

MimeType

MIME-TYPE

§

Morerows

MOREROWS

§

Name

NAME

§

NamePattern

NAME-PATTERN

§

Nameend

NAMEEND

§

Namest

NAMEST

§

Nohref

NOHREF

§

Notation

NOTATION

§

NoteType

NOTE-TYPE

§

Onblur

ONBLUR

§

Onclick

ONCLICK

§

Ondblclick

ONDBLCLICK

§

Onfocus

ONFOCUS

§

Onkeydown

ONKEYDOWN

§

Onkeypress

ONKEYPRESS

§

Onkeyup

ONKEYUP

§

Onmousedown

ONMOUSEDOWN

§

Onmousemove

ONMOUSEMOVE

§

Onmouseout

ONMOUSEOUT

§

Onmouseover

ONMOUSEOVER

§

Onmouseup

ONMOUSEUP

§

Orient

ORIENT

§

Pgwide

PGWIDE

§

ResolutionPolicy

RESOLUTION-POLICY

§

Rotate

ROTATE

§

Rowsep

ROWSEP

§

S

S

§

Scale

SCALE

§

Sd

SD

§

Shape

SHAPE

§

ShortLabel

SHORT-LABEL

§

ShowContent

SHOW-CONTENT

§

ShowResourceAliasName

SHOW-RESOURCE-ALIAS-NAME

§

ShowResourceCategory

SHOW-RESOURCE-CATEGORY

§

ShowResourceLongName

SHOW-RESOURCE-LONG-NAME

§

ShowResourceNumber

SHOW-RESOURCE-NUMBER

§

ShowResourcePage

SHOW-RESOURCE-PAGE

§

ShowResourceShortName

SHOW-RESOURCE-SHORT-NAME

§

ShowResourceType

SHOW-RESOURCE-TYPE

§

ShowSee

SHOW-SEE

§

Si

SI

§

Spanname

SPANNAME

§

Style

STYLE

§

T

T

§

Tabindex

TABINDEX

§

Tabstyle

TABSTYLE

§

TexRender

TEX-RENDER

§

Title

TITLE

§

Type

TYPE

§

Uuid

UUID

§

Validity

VALIDITY

§

Valign

VALIGN

§

View

VIEW

§

Width

WIDTH

§

xmlSpace

xml:space

§

xmlns

xmlns

§

xmlnsXsi

xmlns:xsi

§

xsiSchemalocation

xsi:schemaLocation

Implementations§

source§

impl AttributeName

source

pub fn from_bytes(input: &[u8]) -> Result<Self, ParseAttributeNameError>

derive an enum entry from an input string using a perfect hash function

source

pub fn to_str(&self) -> &'static str

get the str corresponding to an item

The returned &str has static lifetime, becasue it is a reference to an entry in a list of constants

Trait Implementations§

source§

impl Clone for AttributeName

source§

fn clone(&self) -> AttributeName

Returns a copy 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 AttributeName

source§

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

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

impl Display for AttributeName

source§

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

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

impl FromStr for AttributeName

§

type Err = ParseAttributeNameError

The associated error which can be returned from parsing.
source§

fn from_str(input: &str) -> Result<Self, Self::Err>

Parses a string s to return a value of this type. Read more
source§

impl Hash for AttributeName

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 PartialEq<AttributeName> for AttributeName

source§

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

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

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

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl Copy for AttributeName

source§

impl Eq for AttributeName

source§

impl StructuralEq for AttributeName

source§

impl StructuralPartialEq for AttributeName

Auto Trait Implementations§

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

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

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

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

source§

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

Mutably borrows from an owned value. 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 Twhere 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<T> ToOwned for Twhere T: Clone,

§

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> ToString for Twhere T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

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

§

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 Twhere U: TryFrom<T>,

§

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.