Enum Formatter
#[non_exhaustive]
pub enum Formatter
Formatting tools that can be used to format the bindings
Variants
-
None Do not format the bindings.
-
Rustfmt Use
rustfmtto format the bindings.-
Prettyplease Use
prettypleaseto format the bindings.
Trait Implementations
impl Clone for Formatter
fn clone(&self) -> Formatter
impl Copy for Formatter
impl Debug for Formatter
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl Default for Formatter
fn default() -> Self
impl Display for Formatter
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl Eq for Formatter
impl FromStr for Formatter
type Err = String;fn from_str(s: &str) -> Result<Self, Self::Err>
impl PartialEq for Formatter
fn eq(&self, other: &Formatter) -> bool
impl StructuralPartialEq for Formatter
Auto Trait Implementations
impl Freeze for Formatter
impl RefUnwindSafe for Formatter
impl Send for Formatter
impl Sync for Formatter
impl Unpin for Formatter
impl UnsafeUnpin for Formatter
impl UnwindSafe for Formatter
Blanket Implementations
impl<T> Any for Formatter
where
T: 'static + ?Sized,
fn type_id(&self) -> TypeId
impl<T> Borrow<T> for Formatter
where
T: ?Sized,
fn borrow(&self) -> &T
impl<T> BorrowMut<T> for Formatter
where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
impl<T> CloneToUninit for Formatter
where
T: Clone,
unsafe fn clone_to_uninit(&self, dest: *mut u8)
impl<T> From<T> for Formatter
fn from(t: T) -> TReturns the argument unchanged.
impl<T> IntoEither for Formatter
impl<T> ToOwned for Formatter
where
T: Clone,
type Owned = T;fn to_owned(&self) -> Tfn clone_into(&self, target: &mut T)
impl<T> ToString for Formatter
where
T: Display + ?Sized,
fn to_string(&self) -> String
impl<T, U> Into<U> for Formatter
where
U: From<T>,
fn into(self) -> UCalls
U::from(self).That is, this conversion is whatever the implementation of
[From]<T> for Uchooses to do.
impl<T, U> TryFrom<U> for Formatter
where
U: Into<T>,
type Error = Infallible;fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
impl<T, U> TryInto<U> for Formatter
where
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error;fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>