Struct codeviz_java::ClassType
[−]
[src]
pub struct ClassType { pub package: String, pub name: String, pub arguments: Vec<Type>, }
Complete types, including generic arguments.
Fields
package: String
name: String
arguments: Vec<Type>
Methods
impl ClassType
[src]
fn new(package: &str, name: &str, arguments: Vec<Type>) -> ClassType
fn with_arguments<A>(&self, arguments: Vec<A>) -> ClassType where
A: Into<Type>,
A: Into<Type>,
fn extend(&self, part: &str) -> ClassType
fn to_raw(&self) -> ClassType
fn format(
&self,
out: &mut ElementFormat,
level: usize,
extra: &mut Extra
) -> Result<()>
&self,
out: &mut ElementFormat,
level: usize,
extra: &mut Extra
) -> Result<()>
Trait Implementations
impl Debug for ClassType
[src]
impl PartialEq for ClassType
[src]
fn eq(&self, __arg_0: &ClassType) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &ClassType) -> bool
This method tests for !=
.
impl Eq for ClassType
[src]
impl PartialOrd for ClassType
[src]
fn partial_cmp(&self, __arg_0: &ClassType) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
fn lt(&self, __arg_0: &ClassType) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
fn le(&self, __arg_0: &ClassType) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
fn gt(&self, __arg_0: &ClassType) -> bool
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
fn ge(&self, __arg_0: &ClassType) -> bool
This method tests greater than or equal to (for self
and other
) and is used by the >=
operator. Read more
impl Ord for ClassType
[src]
fn cmp(&self, __arg_0: &ClassType) -> Ordering
This method returns an Ordering
between self
and other
. Read more
fn max(self, other: Self) -> Self
ord_max_min
)Compares and returns the maximum of two values. Read more
fn min(self, other: Self) -> Self
ord_max_min
)Compares and returns the minimum of two values. Read more
impl Hash for ClassType
[src]
fn hash<__H: Hasher>(&self, __arg_0: &mut __H)
Feeds this value into the given [Hasher
]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0
H: Hasher,
Feeds a slice of this type into the given [Hasher
]. Read more
impl Clone for ClassType
[src]
fn clone(&self) -> ClassType
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl<'a, T> From<&'a T> for ClassType where
T: Into<ClassType> + Clone,
[src]
T: Into<ClassType> + Clone,
impl Imports for ClassType
[src]
fn imports<I>(&self, receiver: &mut I) where
I: ImportReceiver,
I: ImportReceiver,