[−][src]Enum ldpl::LDPLType
Variants
Methods
impl LDPLType
[src]
pub fn from(name: &str) -> Self
[src]
Create an LDPLType from an ident like NUMBER
or text list
.
pub fn is_number(&self) -> bool
[src]
pub fn is_text(&self) -> bool
[src]
pub fn is_list(&self) -> bool
[src]
pub fn is_map(&self) -> bool
[src]
pub fn is_collection(&self) -> bool
[src]
pub fn is_text_collection(&self) -> bool
[src]
pub fn is_number_collection(&self) -> bool
[src]
Trait Implementations
impl Clone for LDPLType
[src]
impl Debug for LDPLType
[src]
impl PartialEq<LDPLType> for LDPLType
[src]
impl StructuralPartialEq for LDPLType
[src]
Auto Trait Implementations
impl RefUnwindSafe for LDPLType
impl Send for LDPLType
impl Sync for LDPLType
impl Unpin for LDPLType
impl UnwindSafe for LDPLType
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,