[−][src]Struct runestick::format::Flags
Format specification flags.
Implementations
impl Flags
[src]
pub fn is_empty(self) -> bool
[src]
Check if the set of flags is empty.
pub fn into_u32(self) -> u32
[src]
Get the flags as a number. This representation is not guaranteed to be stable.
pub fn set(&mut self, flag: Flag)
[src]
Set the given flag.
pub fn test(&self, flag: Flag) -> bool
[src]
Test the given flag.
Trait Implementations
impl Clone for Flags
[src]
impl Copy for Flags
[src]
impl Debug for Flags
[src]
impl Default for Flags
[src]
impl<'de> Deserialize<'de> for Flags
[src]
pub fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl From<u32> for Flags
[src]
impl Serialize for Flags
[src]
Auto Trait Implementations
impl RefUnwindSafe for Flags
[src]
impl Send for Flags
[src]
impl Sync for Flags
[src]
impl Unpin for Flags
[src]
impl UnwindSafe for Flags
[src]
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,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
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.
pub fn to_owned(&self) -> T
[src]
pub 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.
pub 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>,