[][src]Struct uclicious_libucl_sys::ucl_string_flags

#[repr(transparent)]
pub struct ucl_string_flags(pub u32);

String conversion flags, that are used in #ucl_object_fromstring_common function.

Methods

impl ucl_string_flags[src]

pub const UCL_STRING_RAW: ucl_string_flags[src]

< Treat string as is

impl ucl_string_flags[src]

pub const UCL_STRING_ESCAPE: ucl_string_flags[src]

< Perform JSON escape

impl ucl_string_flags[src]

pub const UCL_STRING_TRIM: ucl_string_flags[src]

< Trim leading and trailing whitespaces

impl ucl_string_flags[src]

pub const UCL_STRING_PARSE_BOOLEAN: ucl_string_flags[src]

< Parse passed string and detect boolean

impl ucl_string_flags[src]

pub const UCL_STRING_PARSE_INT: ucl_string_flags[src]

< Parse passed string and detect integer number

impl ucl_string_flags[src]

pub const UCL_STRING_PARSE_DOUBLE: ucl_string_flags[src]

< Parse passed string and detect integer or float number

impl ucl_string_flags[src]

pub const UCL_STRING_PARSE_TIME: ucl_string_flags[src]

< Parse time strings

impl ucl_string_flags[src]

pub const UCL_STRING_PARSE_NUMBER: ucl_string_flags[src]

< Parse passed string and detect number

impl ucl_string_flags[src]

pub const UCL_STRING_PARSE: ucl_string_flags[src]

< Parse passed string (and detect booleans and numbers)

impl ucl_string_flags[src]

pub const UCL_STRING_PARSE_BYTES: ucl_string_flags[src]

< Treat numbers as bytes

Trait Implementations

impl BitAnd<ucl_string_flags> for ucl_string_flags[src]

type Output = Self

The resulting type after applying the & operator.

impl BitAndAssign<ucl_string_flags> for ucl_string_flags[src]

impl BitOr<ucl_string_flags> for ucl_string_flags[src]

type Output = Self

The resulting type after applying the | operator.

impl BitOrAssign<ucl_string_flags> for ucl_string_flags[src]

impl Clone for ucl_string_flags[src]

impl Copy for ucl_string_flags[src]

impl Debug for ucl_string_flags[src]

impl Eq for ucl_string_flags[src]

impl Hash for ucl_string_flags[src]

impl PartialEq<ucl_string_flags> for ucl_string_flags[src]

impl StructuralEq for ucl_string_flags[src]

impl StructuralPartialEq for ucl_string_flags[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.