pub struct BasicTypeInfo { /* private fields */ }
Expand description
Common type information.
Implementations
sourceimpl BasicTypeInfo
impl BasicTypeInfo
pub fn is_root(&self) -> bool
sourcepub fn repetition(&self) -> &Repetition
pub fn repetition(&self) -> &Repetition
Returns Repetition
value for the type.
Returns Optional
if the repetition is not defined
sourceimpl BasicTypeInfo
impl BasicTypeInfo
Trait Implementations
sourceimpl Clone for BasicTypeInfo
impl Clone for BasicTypeInfo
sourcefn clone(&self) -> BasicTypeInfo
fn clone(&self) -> BasicTypeInfo
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for BasicTypeInfo
impl Debug for BasicTypeInfo
sourceimpl PartialEq<BasicTypeInfo> for BasicTypeInfo
impl PartialEq<BasicTypeInfo> for BasicTypeInfo
sourcefn eq(&self, other: &BasicTypeInfo) -> bool
fn eq(&self, other: &BasicTypeInfo) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &BasicTypeInfo) -> bool
fn ne(&self, other: &BasicTypeInfo) -> bool
This method tests for !=
.
impl StructuralPartialEq for BasicTypeInfo
Auto Trait Implementations
impl RefUnwindSafe for BasicTypeInfo
impl Send for BasicTypeInfo
impl Sync for BasicTypeInfo
impl Unpin for BasicTypeInfo
impl UnwindSafe for BasicTypeInfo
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more