InlineAsmOptions in rustc_ast::ast - Rust (original) (raw)

Struct InlineAsmOptions

Source

pub struct InlineAsmOptions(u16);

Source§

Source

Source

Source

Source

Source

Source

Source

Source

Source

Source§

Source

Get a flags value with all bits unset.

Source

Get a flags value with all known bits set.

Source

Get the underlying bits value.

The returned value is exactly the bits set in this flags value.

Source

Convert from a bits value.

This method will return None if any unknown bits are set.

Source

Convert from a bits value, unsetting any unknown bits.

Source

Convert from a bits value exactly.

Source

Get a flags value with the bits of a flag with the given name set.

This method will return None if name is empty or doesn’t correspond to any named flag.

Source

Whether all bits in this flags value are unset.

Source

Whether all known bits in this flags value are set.

Source

Whether any set bits in a source flags value are also set in a target flags value.

Source

Whether all set bits in a source flags value are also set in a target flags value.

Source

The bitwise or (|) of the bits in two flags values.

Source

The intersection of a source flags value with the complement of a target flags value (&!).

This method is not equivalent to self & !other when other has unknown bits set.remove won’t truncate other, but the ! operator will.

Source

The bitwise exclusive-or (^) of the bits in two flags values.

Source

Call insert when value is true or remove when value is false.

Source

The bitwise and (&) of the bits in two flags values.

Source

The bitwise or (|) of the bits in two flags values.

Source

The intersection of a source flags value with the complement of a target flags value (&!).

This method is not equivalent to self & !other when other has unknown bits set.difference won’t truncate other, but the ! operator will.

Source

The bitwise exclusive-or (^) of the bits in two flags values.

Source

The bitwise negation (!) of the bits in a flags value, truncating the result.

Source§

Source

Yield a set of contained flags values.

Each yielded flags value will correspond to a defined named flag. Any unknown bits will be yielded together as a final flags value.

Source

Yield a set of contained named flags values.

This method is like iter, except only yields bits in contained named flags. Any unknown bits, or bits not corresponding to a contained flag will not be yielded.

Source§

Source

Source

Source

Source

Source§

Source§

Source§

The bitwise and (&) of the bits in two flags values.

Source§

The resulting type after applying the & operator.

Source§

Source§

The bitwise and (&) of the bits in two flags values.

Source§

Source§

The bitwise or (|) of the bits in two flags values.

Source§

The resulting type after applying the | operator.

Source§

Source§

The bitwise or (|) of the bits in two flags values.

Source§

Source§

The bitwise exclusive-or (^) of the bits in two flags values.

Source§

The resulting type after applying the ^ operator.

Source§

Source§

The bitwise exclusive-or (^) of the bits in two flags values.

Source§

Source§

Source§

Source§

Source§

Source§

Source§

Source§

The bitwise or (|) of the bits in each flags value.

Source§

🔬This is a nightly-only experimental API. (extend_one)

Extends a collection with exactly one element.

Source§

🔬This is a nightly-only experimental API. (extend_one)

Reserves capacity in a collection for the given number of additional elements. Read more

Source§

Source§

The set of defined flags.

Source§

The underlying bits type.

Source§

Get the underlying bits value. Read more

Source§

Convert from a bits value exactly.

Source§

Get a flags value with all bits unset.

Source§

Get a flags value with all known bits set.

Source§

This method will return true if any unknown bits are set.

Source§

Source§

Convert from a bits value, unsetting any unknown bits.

Source§

Get a flags value with the bits of a flag with the given name set. Read more

Source§

Yield a set of contained flags values. Read more

Source§

Yield a set of contained named flags values. Read more

Source§

Whether all bits in this flags value are unset.

Source§

Whether all known bits in this flags value are set.

Source§

Whether any set bits in a source flags value are also set in a target flags value.

Source§

Whether all set bits in a source flags value are also set in a target flags value.

Source§

Remove any unknown bits from the flags.

Source§

The bitwise or (|) of the bits in two flags values.

Source§

The intersection of a source flags value with the complement of a target flags value (&!). Read more

Source§

The bitwise exclusive-or (^) of the bits in two flags values.

Source§

Source§

Unsets all bits in the flags.

Source§

The bitwise and (&) of the bits in two flags values.

Source§

The bitwise or (|) of the bits in two flags values.

Source§

The intersection of a source flags value with the complement of a target flags value (&!). Read more

Source§

The bitwise exclusive-or (^) of the bits in two flags values.

Source§

The bitwise negation (!) of the bits in a flags value, truncating the result.

Source§

Source§

The bitwise or (|) of the bits in each flags value.

Source§

Source§

Source§

Source§

Source§

The type of the elements being iterated over.

Source§

Which kind of iterator are we turning this into?

Source§

Creates an iterator from a value. Read more

Source§

Source§

Source§

The bitwise negation (!) of the bits in a flags value, truncating the result.

Source§

The resulting type after applying the ! operator.

Source§

Source§

Source§

Tests for self and other values to be equal, and is used by ==.

1.0.0 · Source§

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

Source§

Source§

The intersection of a source flags value with the complement of a target flags value (&!).

This method is not equivalent to self & !other when other has unknown bits set.difference won’t truncate other, but the ! operator will.

Source§

The resulting type after applying the - operator.

Source§

Source§

The intersection of a source flags value with the complement of a target flags value (&!).

This method is not equivalent to self & !other when other has unknown bits set.difference won’t truncate other, but the ! operator will.

Source§

Source§

Source§

Source§

§

§

§

§

§

§

§

§

Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...) attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.

Size: 2 bytes