[−][src]Enum uclicious_libucl_sys::ucl_type
#ucl_object_t may have one of specified types, some types are compatible with each other and some are not. For example, you can always convert #UCL_TIME to #UCL_FLOAT. Also you can convert #UCL_FLOAT to #UCL_INTEGER by loosing floating point. Every object may be converted to a string by #ucl_object_tostring_forced() function.
Variants
< UCL object - key/value pairs
< UCL array
< Integer number
< Floating point number
< Null terminated string
< Boolean value
< Time value (floating point number of seconds)
< Opaque userdata pointer (may be used in macros)
< Null value
Trait Implementations
impl Clone for ucl_type
[src]
impl Copy for ucl_type
[src]
impl Debug for ucl_type
[src]
impl Eq for ucl_type
[src]
impl Hash for ucl_type
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl PartialEq<ucl_type> for ucl_type
[src]
impl StructuralEq for ucl_type
[src]
impl StructuralPartialEq for ucl_type
[src]
Auto Trait Implementations
impl RefUnwindSafe for ucl_type
impl Send for ucl_type
impl Sync for ucl_type
impl Unpin for ucl_type
impl UnwindSafe for ucl_type
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>,