Struct avenger_wgpu::marks::cosmic::CosmicTextAtlasBuilder
source · pub struct CosmicTextAtlasBuilder { /* private fields */ }Implementations§
Trait Implementations§
source§impl Default for CosmicTextAtlasBuilder
impl Default for CosmicTextAtlasBuilder
source§impl TextAtlasBuilder for CosmicTextAtlasBuilder
impl TextAtlasBuilder for CosmicTextAtlasBuilder
fn register_text( &mut self, text: TextInstance<'_>, dimensions: CanvasDimensions ) -> Result<Vec<TextAtlasRegistration>, AvengerWgpuError>
fn build(&self) -> (Extent3d, Vec<DynamicImage>)
Auto Trait Implementations§
impl RefUnwindSafe for CosmicTextAtlasBuilder
impl Send for CosmicTextAtlasBuilder
impl Sync for CosmicTextAtlasBuilder
impl Unpin for CosmicTextAtlasBuilder
impl UnwindSafe for CosmicTextAtlasBuilder
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
§impl<T> Pointable for T
impl<T> Pointable for T
source§impl<R, P> ReadPrimitive<R> for P
impl<R, P> ReadPrimitive<R> for P
source§fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
Read this value from the supplied reader. Same as
ReadEndian::read_from_little_endian().