Skip to main content

AttributeName

Enum AttributeName 

Source
#[non_exhaustive]
#[repr(u16)]
pub enum AttributeName {
Show 101 variants Accesskey = 79, Align = 72, AllowBreak = 15, Alt = 46, Base = 40, Bgcolor = 41, BindingTime = 18, BlueprintValue = 23, Break = 22, Class = 8, Colname = 74, Colnum = 47, Color = 26, Cols = 88, Colsep = 86, Colwidth = 65, Coords = 25, Dest = 6, EditHeight = 90, EditWidth = 20, Editfit = 21, Editscale = 83, EnumTable = 35, Filename = 31, Fit = 68, Float = 42, Font = 61, Frame = 14, Generator = 63, Gid = 51, Height = 16, HelpEntry = 58, Href = 67, HtmlFit = 55, HtmlHeight = 97, HtmlScale = 85, HtmlWidth = 69, Index = 32, IntervalType = 60, ItemLabelPos = 70, KeepWithPrevious = 54, L = 43, Level = 50, MimeType = 96, Morerows = 3, Name = 33, NamePattern = 89, Nameend = 81, Namest = 19, Nohref = 0, Notation = 87, NoteType = 44, Onblur = 5, Onclick = 98, Ondblclick = 12, Onfocus = 100, Onkeydown = 95, Onkeypress = 73, Onkeyup = 37, Onmousedown = 64, Onmousemove = 71, Onmouseout = 1, Onmouseover = 56, Onmouseup = 39, Orient = 30, Pgwide = 29, ResolutionPolicy = 91, Rotate = 57, Rowsep = 13, S = 52, Scale = 76, Sd = 92, Shape = 38, ShortLabel = 11, ShowContent = 36, ShowResourceAliasName = 75, ShowResourceCategory = 27, ShowResourceLongName = 53, ShowResourceNumber = 10, ShowResourcePage = 7, ShowResourceShortName = 9, ShowResourceType = 2, ShowSee = 99, Si = 77, Spanname = 4, Style = 45, T = 80, Tabindex = 93, Tabstyle = 48, TexRender = 66, Title = 94, Type = 34, Uuid = 59, Validity = 84, Valign = 49, View = 24, Width = 62, xmlSpace = 82, xmlns = 28, xmlnsXsi = 17, xsiSchemalocation = 78,
}
Expand description

Enum of all attribute names in Autosar

Variants (Non-exhaustive)§

This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
§

Accesskey = 79

ACCESSKEY

§

Align = 72

ALIGN

§

AllowBreak = 15

ALLOW-BREAK

§

Alt = 46

ALT

§

Base = 40

BASE

§

Bgcolor = 41

BGCOLOR

§

BindingTime = 18

BINDING-TIME

§

BlueprintValue = 23

BLUEPRINT-VALUE

§

Break = 22

BREAK

§

Class = 8

CLASS

§

Colname = 74

COLNAME

§

Colnum = 47

COLNUM

§

Color = 26

COLOR

§

Cols = 88

COLS

§

Colsep = 86

COLSEP

§

Colwidth = 65

COLWIDTH

§

Coords = 25

COORDS

§

Dest = 6

DEST

§

EditHeight = 90

EDIT-HEIGHT

§

EditWidth = 20

EDIT-WIDTH

§

Editfit = 21

EDITFIT

§

Editscale = 83

EDITSCALE

§

EnumTable = 35

ENUM-TABLE

§

Filename = 31

FILENAME

§

Fit = 68

FIT

§

Float = 42

FLOAT

§

Font = 61

FONT

§

Frame = 14

FRAME

§

Generator = 63

GENERATOR

§

Gid = 51

GID

§

Height = 16

HEIGHT

§

HelpEntry = 58

HELP-ENTRY

§

Href = 67

HREF

§

HtmlFit = 55

HTML-FIT

§

HtmlHeight = 97

HTML-HEIGHT

§

HtmlScale = 85

HTML-SCALE

§

HtmlWidth = 69

HTML-WIDTH

§

Index = 32

INDEX

§

IntervalType = 60

INTERVAL-TYPE

§

ItemLabelPos = 70

ITEM-LABEL-POS

§

KeepWithPrevious = 54

KEEP-WITH-PREVIOUS

§

L = 43

L

§

Level = 50

LEVEL

§

MimeType = 96

MIME-TYPE

§

Morerows = 3

MOREROWS

§

Name = 33

NAME

§

NamePattern = 89

NAME-PATTERN

§

Nameend = 81

NAMEEND

§

Namest = 19

NAMEST

§

Nohref = 0

NOHREF

§

Notation = 87

NOTATION

§

NoteType = 44

NOTE-TYPE

§

Onblur = 5

ONBLUR

§

Onclick = 98

ONCLICK

§

Ondblclick = 12

ONDBLCLICK

§

Onfocus = 100

ONFOCUS

§

Onkeydown = 95

ONKEYDOWN

§

Onkeypress = 73

ONKEYPRESS

§

Onkeyup = 37

ONKEYUP

§

Onmousedown = 64

ONMOUSEDOWN

§

Onmousemove = 71

ONMOUSEMOVE

§

Onmouseout = 1

ONMOUSEOUT

§

Onmouseover = 56

ONMOUSEOVER

§

Onmouseup = 39

ONMOUSEUP

§

Orient = 30

ORIENT

§

Pgwide = 29

PGWIDE

§

ResolutionPolicy = 91

RESOLUTION-POLICY

§

Rotate = 57

ROTATE

§

Rowsep = 13

ROWSEP

§

S = 52

S

§

Scale = 76

SCALE

§

Sd = 92

SD

§

Shape = 38

SHAPE

§

ShortLabel = 11

SHORT-LABEL

§

ShowContent = 36

SHOW-CONTENT

§

ShowResourceAliasName = 75

SHOW-RESOURCE-ALIAS-NAME

§

ShowResourceCategory = 27

SHOW-RESOURCE-CATEGORY

§

ShowResourceLongName = 53

SHOW-RESOURCE-LONG-NAME

§

ShowResourceNumber = 10

SHOW-RESOURCE-NUMBER

§

ShowResourcePage = 7

SHOW-RESOURCE-PAGE

§

ShowResourceShortName = 9

SHOW-RESOURCE-SHORT-NAME

§

ShowResourceType = 2

SHOW-RESOURCE-TYPE

§

ShowSee = 99

SHOW-SEE

§

Si = 77

SI

§

Spanname = 4

SPANNAME

§

Style = 45

STYLE

§

T = 80

T

§

Tabindex = 93

TABINDEX

§

Tabstyle = 48

TABSTYLE

§

TexRender = 66

TEX-RENDER

§

Title = 94

TITLE

§

Type = 34

TYPE

§

Uuid = 59

UUID

§

Validity = 84

VALIDITY

§

Valign = 49

VALIGN

§

View = 24

VIEW

§

Width = 62

WIDTH

§

xmlSpace = 82

xml:space

§

xmlns = 28

xmlns

§

xmlnsXsi = 17

xmlns:xsi

§

xsiSchemalocation = 78

xsi:schemaLocation

Implementations§

Source§

impl AttributeName

Source

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

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

§Errors

ParseAttributeNameError: The input string did not match the name of any enum item

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 duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

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

Performs copy-assignment from source. Read more
Source§

impl Copy for AttributeName

Source§

impl Debug for AttributeName

Source§

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

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

impl Display for AttributeName

Source§

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

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

impl Eq for AttributeName

Source§

impl FromStr for AttributeName

Source§

type Err = ParseAttributeNameError

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

fn from_str( input: &str, ) -> Result<AttributeName, <AttributeName as FromStr>::Err>

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

impl Hash for AttributeName

Source§

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

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

Source§

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

Tests for self and other values to be equal, and is used by ==.
1.0.0 (const: unstable) · 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 StructuralPartialEq for AttributeName

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

Source§

fn to_string(&self) -> String

Converts the given value to a String. 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.