Struct uclicious_libucl_sys::ucl_string_flags
source · #[repr(transparent)]pub struct ucl_string_flags(pub u32);
Expand description
String conversion flags, that are used in #ucl_object_fromstring_common function.
Tuple Fields§
§0: u32
Implementations§
source§impl ucl_string_flags
impl ucl_string_flags
sourcepub const UCL_STRING_RAW: ucl_string_flags = _
pub const UCL_STRING_RAW: ucl_string_flags = _
< Treat string as is
source§impl ucl_string_flags
impl ucl_string_flags
sourcepub const UCL_STRING_ESCAPE: ucl_string_flags = _
pub const UCL_STRING_ESCAPE: ucl_string_flags = _
< Perform JSON escape
source§impl ucl_string_flags
impl ucl_string_flags
sourcepub const UCL_STRING_TRIM: ucl_string_flags = _
pub const UCL_STRING_TRIM: ucl_string_flags = _
< Trim leading and trailing whitespaces
source§impl ucl_string_flags
impl ucl_string_flags
sourcepub const UCL_STRING_PARSE_BOOLEAN: ucl_string_flags = _
pub const UCL_STRING_PARSE_BOOLEAN: ucl_string_flags = _
< Parse passed string and detect boolean
source§impl ucl_string_flags
impl ucl_string_flags
sourcepub const UCL_STRING_PARSE_INT: ucl_string_flags = _
pub const UCL_STRING_PARSE_INT: ucl_string_flags = _
< Parse passed string and detect integer number
source§impl ucl_string_flags
impl ucl_string_flags
sourcepub const UCL_STRING_PARSE_DOUBLE: ucl_string_flags = _
pub const UCL_STRING_PARSE_DOUBLE: ucl_string_flags = _
< Parse passed string and detect integer or float number
source§impl ucl_string_flags
impl ucl_string_flags
sourcepub const UCL_STRING_PARSE_TIME: ucl_string_flags = _
pub const UCL_STRING_PARSE_TIME: ucl_string_flags = _
< Parse time strings
source§impl ucl_string_flags
impl ucl_string_flags
sourcepub const UCL_STRING_PARSE_NUMBER: ucl_string_flags = _
pub const UCL_STRING_PARSE_NUMBER: ucl_string_flags = _
< Parse passed string and detect number
source§impl ucl_string_flags
impl ucl_string_flags
sourcepub const UCL_STRING_PARSE: ucl_string_flags = _
pub const UCL_STRING_PARSE: ucl_string_flags = _
< Parse passed string (and detect booleans and numbers)
source§impl ucl_string_flags
impl ucl_string_flags
sourcepub const UCL_STRING_PARSE_BYTES: ucl_string_flags = _
pub const UCL_STRING_PARSE_BYTES: ucl_string_flags = _
< Treat numbers as bytes
Trait Implementations§
source§impl BitAnd<ucl_string_flags> for ucl_string_flags
impl BitAnd<ucl_string_flags> for ucl_string_flags
source§impl BitAndAssign<ucl_string_flags> for ucl_string_flags
impl BitAndAssign<ucl_string_flags> for ucl_string_flags
source§fn bitand_assign(&mut self, rhs: ucl_string_flags)
fn bitand_assign(&mut self, rhs: ucl_string_flags)
Performs the
&=
operation. Read moresource§impl BitOr<ucl_string_flags> for ucl_string_flags
impl BitOr<ucl_string_flags> for ucl_string_flags
source§impl BitOrAssign<ucl_string_flags> for ucl_string_flags
impl BitOrAssign<ucl_string_flags> for ucl_string_flags
source§fn bitor_assign(&mut self, rhs: ucl_string_flags)
fn bitor_assign(&mut self, rhs: ucl_string_flags)
Performs the
|=
operation. Read moresource§impl Clone for ucl_string_flags
impl Clone for ucl_string_flags
source§fn clone(&self) -> ucl_string_flags
fn clone(&self) -> ucl_string_flags
Returns a copy 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 ucl_string_flags
impl Debug for ucl_string_flags
source§impl Hash for ucl_string_flags
impl Hash for ucl_string_flags
source§impl PartialEq<ucl_string_flags> for ucl_string_flags
impl PartialEq<ucl_string_flags> for ucl_string_flags
source§fn eq(&self, other: &ucl_string_flags) -> bool
fn eq(&self, other: &ucl_string_flags) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for ucl_string_flags
impl Eq for ucl_string_flags
impl StructuralEq for ucl_string_flags
impl StructuralPartialEq for ucl_string_flags
Auto Trait Implementations§
impl RefUnwindSafe for ucl_string_flags
impl Send for ucl_string_flags
impl Sync for ucl_string_flags
impl Unpin for ucl_string_flags
impl UnwindSafe for ucl_string_flags
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