Enum Formatter

enum Formatter

Formatting tools that can be used to format the bindings

Variants

None

Do not format the bindings.

Rustfmt

Use rustfmt to format the bindings.

Prettyplease

Use prettyplease to format the bindings.

Implementations

impl Clone for Formatter

fn clone(self: &Self) -> Formatter

impl Copy for Formatter

impl Debug for Formatter

fn fmt(self: &Self, f: &mut $crate::fmt::Formatter<'_>) -> $crate::fmt::Result

impl Default for Formatter

fn default() -> Self

impl Display for Formatter

fn fmt(self: &Self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result

impl Eq for Formatter

impl Freeze for Formatter

impl FromStr for Formatter

fn from_str(s: &str) -> Result<Self, <Self as >::Err>

impl PartialEq for Formatter

fn eq(self: &Self, other: &Formatter) -> bool

impl RefUnwindSafe for Formatter

impl Send for Formatter

impl StructuralPartialEq for Formatter

impl Sync for Formatter

impl Unpin for Formatter

impl UnwindSafe for Formatter

impl<T> Any for Formatter

fn type_id(self: &Self) -> TypeId

impl<T> Borrow for Formatter

fn borrow(self: &Self) -> &T

impl<T> BorrowMut for Formatter

fn borrow_mut(self: &mut Self) -> &mut T

impl<T> CloneToUninit for Formatter

unsafe fn clone_to_uninit(self: &Self, dest: *mut u8)

impl<T> From for Formatter

fn from(t: T) -> T

Returns the argument unchanged.

impl<T> ToOwned for Formatter

fn to_owned(self: &Self) -> T
fn clone_into(self: &Self, target: &mut T)

impl<T> ToString for Formatter

fn to_string(self: &Self) -> String

impl<T, U> Into for Formatter

fn into(self: Self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of [From]<T> for U chooses to do.

impl<T, U> TryFrom for Formatter

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

impl<T, U> TryInto for Formatter

fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>