You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: text.rs
    path of file: ./repos/ggez/src/graphics/gpu
    
    the code of the file until where you have to start completion: use super::{
    arc::{ArcBindGroup, ArcBindGroupLayout, ArcBuffer, ArcTexture, ArcTextureView},
    bind_group::BindGroupBuilder,
    growing::GrowingBufferArena,
};
use crate::graphics::{context::FrameArenas, LinearColor};
use crevice::std140::AsStd140;
use glyph_brush::{GlyphBrush, GlyphBr
    
    pub fn new(device: &wgpu::Device, cache_bind_layout: ArcBindGroupLayout) -> Self {
        let cache_size = (1024, 1024);

        let glyph_brush = GlyphBrushBuilder::using_fonts(vec![])
            .cache_redraws(false)
            .initial_cache_size(cache_size)
            .build();

        let cache = ArcTexture::new(device.create_texture(&wgpu::TextureDescriptor {
            label: None,
            size: wgpu::Extent3d {
                width: cache_size.0,
                height: cache_size.1,
                depth_or_array_layers: 1,
            },
            mip_level_count: 1,
            sample_count: 1,
            dimension: wgpu::TextureDimension::D2,
            format: wgpu::TextureFormat::R8Unorm,
            usage: wgpu::TextureUsages::COPY_DST | wgpu::TextureUsages::TEXTURE_BINDING,
            view_formats: &[],
        }));

        let cache_view =
            ArcTextureView::new(cache.create_view(&wgpu::TextureViewDescriptor::default()));

        let cache_bind = BindGroupBuilder::new().image(&cache_view, wgpu::ShaderStages::FRAGMENT);
        let cache_bind = ArcBindGroup::new(device.create_bind_group(&wgpu::BindGroupDescriptor {
            label: None,
            layout: &cache_bind_layout,
            entries: cache_bind.entries(),
        }));

        let verts = GrowingBufferArena::new(
            device,
            1,
            wgpu::BufferDescriptor {
                label: None,
                size: Self::MAX_TEXT_VERTEX_ARENA * std::mem::size_of::<TextVertex>() as u64,
                usage: wgpu::BufferUsages::COPY_DST | wgpu::BufferUsages::VERTEX,
                mapped_at_creation: false,
            },
        );

        TextRenderer {
            glyph_brush: RefCell::new(glyph_brush),
            cache,
            cache_view,
            cache_bind,
            cache_bind_layout,
            cache_size,

            verts,
        }
    }