Trait askama::filters::FastWritable
source · pub trait FastWritable {
// Required method
fn write_into<W: Write + ?Sized>(&self, dest: &mut W) -> Result<()>;
}Expand description
Used internally by askama to speed up writing some types.
Types implementing this trait can be written without needing to employ an fmt::Formatter.
Required Methods§
Object Safety§
This trait is not object safe.
Implementations on Foreign Types§
source§impl FastWritable for bool
impl FastWritable for bool
source§impl FastWritable for char
impl FastWritable for char
source§impl FastWritable for i8
impl FastWritable for i8
source§impl FastWritable for i16
impl FastWritable for i16
source§impl FastWritable for i32
impl FastWritable for i32
source§impl FastWritable for i64
impl FastWritable for i64
source§impl FastWritable for i128
impl FastWritable for i128
source§impl FastWritable for isize
impl FastWritable for isize
source§impl FastWritable for str
impl FastWritable for str
source§impl FastWritable for u8
impl FastWritable for u8
source§impl FastWritable for u16
impl FastWritable for u16
source§impl FastWritable for u32
impl FastWritable for u32
source§impl FastWritable for u64
impl FastWritable for u64
source§impl FastWritable for u128
impl FastWritable for u128
source§impl FastWritable for usize
impl FastWritable for usize
source§impl FastWritable for String
Available on crate feature alloc only.
impl FastWritable for String
Available on crate feature
alloc only.source§impl FastWritable for Arguments<'_>
impl FastWritable for Arguments<'_>
source§impl FastWritable for NonZeroI8
impl FastWritable for NonZeroI8
source§impl FastWritable for NonZeroI16
impl FastWritable for NonZeroI16
source§impl FastWritable for NonZeroI32
impl FastWritable for NonZeroI32
source§impl FastWritable for NonZeroI64
impl FastWritable for NonZeroI64
source§impl FastWritable for NonZeroI128
impl FastWritable for NonZeroI128
source§impl FastWritable for NonZeroIsize
impl FastWritable for NonZeroIsize
source§impl FastWritable for NonZeroU8
impl FastWritable for NonZeroU8
source§impl FastWritable for NonZeroU16
impl FastWritable for NonZeroU16
source§impl FastWritable for NonZeroU32
impl FastWritable for NonZeroU32
source§impl FastWritable for NonZeroU64
impl FastWritable for NonZeroU64
source§impl FastWritable for NonZeroU128
impl FastWritable for NonZeroU128
source§impl FastWritable for NonZeroUsize
impl FastWritable for NonZeroUsize
source§impl<T> FastWritable for Pin<T>
impl<T> FastWritable for Pin<T>
source§impl<T: FastWritable + ToOwned> FastWritable for Cow<'_, T>
Available on crate feature alloc only.
impl<T: FastWritable + ToOwned> FastWritable for Cow<'_, T>
Available on crate feature
alloc only.source§impl<T: FastWritable + ?Sized> FastWritable for &T
impl<T: FastWritable + ?Sized> FastWritable for &T
source§impl<T: FastWritable + ?Sized> FastWritable for &mut T
impl<T: FastWritable + ?Sized> FastWritable for &mut T
source§impl<T: FastWritable + ?Sized> FastWritable for Box<T>
Available on crate feature alloc only.
impl<T: FastWritable + ?Sized> FastWritable for Box<T>
Available on crate feature
alloc only.source§impl<T: FastWritable + ?Sized> FastWritable for Rc<T>
Available on crate feature alloc only.
impl<T: FastWritable + ?Sized> FastWritable for Rc<T>
Available on crate feature
alloc only.source§impl<T: FastWritable + ?Sized> FastWritable for Arc<T>
Available on crate feature alloc only.
impl<T: FastWritable + ?Sized> FastWritable for Arc<T>
Available on crate feature
alloc only.source§impl<T: FastWritable + ?Sized> FastWritable for Ref<'_, T>
impl<T: FastWritable + ?Sized> FastWritable for Ref<'_, T>
source§impl<T: FastWritable + ?Sized> FastWritable for RefMut<'_, T>
impl<T: FastWritable + ?Sized> FastWritable for RefMut<'_, T>
source§impl<T: FastWritable + ?Sized> FastWritable for MutexGuard<'_, T>
Available on crate feature std only.
impl<T: FastWritable + ?Sized> FastWritable for MutexGuard<'_, T>
Available on crate feature
std only.source§impl<T: FastWritable + ?Sized> FastWritable for RwLockReadGuard<'_, T>
Available on crate feature std only.
impl<T: FastWritable + ?Sized> FastWritable for RwLockReadGuard<'_, T>
Available on crate feature
std only.source§impl<T: FastWritable + ?Sized> FastWritable for RwLockWriteGuard<'_, T>
Available on crate feature std only.
impl<T: FastWritable + ?Sized> FastWritable for RwLockWriteGuard<'_, T>
Available on crate feature
std only.