#[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: u32Implementations§
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 for ucl_string_flags
impl BitAnd for ucl_string_flags
Source§impl BitAndAssign for ucl_string_flags
impl BitAndAssign 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 for ucl_string_flags
impl BitOr for ucl_string_flags
Source§impl BitOrAssign for ucl_string_flags
impl BitOrAssign 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 duplicate 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 for ucl_string_flags
impl PartialEq for ucl_string_flags
impl Copy for ucl_string_flags
impl Eq for ucl_string_flags
impl StructuralPartialEq for ucl_string_flags
Auto Trait Implementations§
impl Freeze for ucl_string_flags
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