Enum rust_jvm::vm::sig::Class [] [src]

pub enum Class {
    Scalar(String),
    Array(Box<Type>),
}

A class signature.

Variants

Scalar

The signature of a non-array class, parametrized by its name.

Array

The signature of an array class, parametrized by the type of elements in the array.

Methods

impl Class

fn new(name: &str) -> Self

fn get_package(&self) -> Option<String>

Trait Implementations

Derived Implementations

impl Hash for Class

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

1.3.0fn hash_slice<H>(data: &[Self], state: &mut H) where H: Hasher

impl Eq for Class

fn assert_receiver_is_total_eq(&self)

impl PartialEq for Class

fn eq(&self, __arg_0: &Class) -> bool

fn ne(&self, __arg_0: &Class) -> bool

impl Clone for Class

fn clone(&self) -> Class

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

impl Debug for Class

fn fmt(&self, __arg_0: &mut Formatter) -> Result