pub enum NonRepeatingType {
Ref(RefType),
Scalar(ScalarType),
}Expand description
A variant of type
Variants§
Ref(RefType)
Scalar(ScalarType)
Implementations§
Source§impl NonRepeatingType
impl NonRepeatingType
Sourcepub fn descriptor(&self, ctx: &GenericsScope<'_>) -> String
pub fn descriptor(&self, ctx: &GenericsScope<'_>) -> String
Returns the JVM descriptor for this type, suitable for embedding a method descriptor.
§Parameters
ctxis the generics scope where the type appears.
Trait Implementations§
Source§impl Clone for NonRepeatingType
impl Clone for NonRepeatingType
Source§fn clone(&self) -> NonRepeatingType
fn clone(&self) -> NonRepeatingType
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for NonRepeatingType
impl Debug for NonRepeatingType
Source§impl Ord for NonRepeatingType
impl Ord for NonRepeatingType
Source§fn cmp(&self, other: &NonRepeatingType) -> Ordering
fn cmp(&self, other: &NonRepeatingType) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for NonRepeatingType
impl PartialEq for NonRepeatingType
Source§impl PartialOrd for NonRepeatingType
impl PartialOrd for NonRepeatingType
impl Eq for NonRepeatingType
impl StructuralPartialEq for NonRepeatingType
Auto Trait Implementations§
impl Freeze for NonRepeatingType
impl RefUnwindSafe for NonRepeatingType
impl Send for NonRepeatingType
impl Sync for NonRepeatingType
impl Unpin for NonRepeatingType
impl UnwindSafe for NonRepeatingType
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more