[][src]Struct vulkano_text::DrawText

pub struct DrawText { /* fields omitted */ }

Methods

impl DrawText[src]

pub fn new<W>(
    device: Arc<Device>,
    queue: Arc<Queue>,
    swapchain: Arc<Swapchain<W>>,
    images: &[Arc<SwapchainImage<W>>]
) -> DrawText where
    W: Send + Sync + 'static, 
[src]

pub fn queue_text(
    &mut self,
    x: f32,
    y: f32,
    size: f32,
    color: [f32; 4],
    text: &str
)
[src]

pub fn draw_text(
    &mut self,
    command_buffer: AutoCommandBufferBuilder,
    image_num: usize
) -> AutoCommandBufferBuilder
[src]

Auto Trait Implementations

impl !RefUnwindSafe for DrawText

impl Send for DrawText

impl Sync for DrawText

impl Unpin for DrawText

impl !UnwindSafe for DrawText

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Content for T[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.