Struct Constants

Source
pub struct Constants;

Implementations§

Source§

impl Constants

Source

pub const CONSTANT_VALUE: &'static str = "ConstantValue"

Source

pub const CODE: &'static str = "Code"

Source

pub const STACK_MAP_TABLE: &'static str = "StackMapTable"

Source

pub const EXCEPTIONS: &'static str = "Exceptions"

Source

pub const INNER_CLASSES: &'static str = "InnerClasses"

Source

pub const ENCLOSING_METHOD: &'static str = "EnclosingMethod"

Source

pub const SYNTHETIC: &'static str = "Synthetic"

Source

pub const SIGNATURE: &'static str = "Signature"

Source

pub const SOURCE_FILE: &'static str = "SourceFile"

Source

pub const SOURCE_DEBUG_EXTENSION: &'static str = "SourceDebugExtension"

Source

pub const LINE_NUMBER_TABLE: &'static str = "LineNumberTable"

Source

pub const LOCAL_VARIABLE_TABLE: &'static str = "LocalVariableTable"

Source

pub const LOCAL_VARIABLE_TYPE_TABLE: &'static str = "LocalVariableTypeTable"

Source

pub const DEPRECATED: &'static str = "Deprecated"

Source

pub const RUNTIME_VISIBLE_ANNOTATIONS: &'static str = "RuntimeVisibleAnnotations"

Source

pub const RUNTIME_INVISIBLE_ANNOTATIONS: &'static str = "RuntimeInvisibleAnnotations"

Source

pub const RUNTIME_VISIBLE_PARAMETER_ANNOTATIONS: &'static str = "RuntimeVisibleParameterAnnotations"

Source

pub const RUNTIME_INVISIBLE_PARAMETER_ANNOTATIONS: &'static str = "RuntimeInvisibleParameterAnnotations"

Source

pub const RUNTIME_VISIBLE_TYPE_ANNOTATIONS: &'static str = "RuntimeVisibleTypeAnnotations"

Source

pub const RUNTIME_INVISIBLE_TYPE_ANNOTATIONS: &'static str = "RuntimeInvisibleTypeAnnotations"

Source

pub const ANNOTATION_DEFAULT: &'static str = "AnnotationDefault"

Source

pub const BOOTSTRAP_METHODS: &'static str = "BootstrapMethods"

Source

pub const METHOD_PARAMETERS: &'static str = "MethodParameters"

Source

pub const MODULE: &'static str = "Module"

Source

pub const MODULE_PACKAGES: &'static str = "ModulePackages"

Source

pub const MODULE_MAIN_CLASS: &'static str = "ModuleMainClass"

Source

pub const NEST_HOST: &'static str = "NestHost"

Source

pub const NEST_MEMBERS: &'static str = "NestMembers"

Source

pub const PERMITTED_SUBCLASSES: &'static str = "PermittedSubclasses"

Source

pub const RECORD: &'static str = "Record"

Source

pub const CONSTANT_Invalid: u8 = 0u8

Source

pub const CONSTANT_Utf8: u8 = 1u8

Source

pub const CONSTANT_Integer: u8 = 3u8

Source

pub const CONSTANT_Float: u8 = 4u8

Source

pub const CONSTANT_Long: u8 = 5u8

Source

pub const CONSTANT_Double: u8 = 6u8

Source

pub const CONSTANT_Class: u8 = 7u8

Source

pub const CONSTANT_String: u8 = 8u8

Source

pub const CONSTANT_Fieldref: u8 = 9u8

Source

pub const CONSTANT_Methodref: u8 = 10u8

Source

pub const CONSTANT_InterfaceMethodref: u8 = 11u8

Source

pub const CONSTANT_NameAndType: u8 = 12u8

Source

pub const CONSTANT_MethodHandle: u8 = 15u8

Source

pub const CONSTANT_MethodType: u8 = 16u8

Source

pub const CONSTANT_Dynamic: u8 = 17u8

Source

pub const CONSTANT_InvokeDynamic: u8 = 18u8

Source

pub const CONSTANT_Module: u8 = 19u8

Source

pub const CONSTANT_Package: u8 = 20u8

Source

pub const OBJECT_INTERNAL_NAME: &'static str = "java/lang/Object"

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> 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, 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.