pub struct MapText<T, F = NoFeature> { /* private fields */ }Expand description
Implementations§
Trait Implementations§
Source§impl<T: Copy + Default + 'static, F: MapFeature + 'static> Format for MapText<T, F>
impl<T: Copy + Default + 'static, F: MapFeature + 'static> Format for MapText<T, F>
Source§fn id(&self) -> &'static str
fn id(&self) -> &'static str
Stable id, e.g.
"png", "tiled-tmx", "yarn": one per format
of a kind.Source§fn extensions(&self) -> &'static [&'static str]
fn extensions(&self) -> &'static [&'static str]
File extensions this format claims, lowercase, without the dot. A
format that only stands in another’s place (a one-bit picture at a
PNG’s path) claims none and is found by
sniff.Source§fn max_bytes(&self) -> usize
fn max_bytes(&self) -> usize
The most bytes it reads: a bigger file is refused before
decode sees it. DEFAULT_MAX_BYTES unless the
format says.Auto Trait Implementations§
impl<T, F = NoFeature> !RefUnwindSafe for MapText<T, F>
impl<T, F = NoFeature> !UnwindSafe for MapText<T, F>
impl<T, F> Freeze for MapText<T, F>
impl<T, F> Send for MapText<T, F>
impl<T, F> Sync for MapText<T, F>
impl<T, F> Unpin for MapText<T, F>
impl<T, F> UnsafeUnpin for MapText<T, F>
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