[−][src]Struct vulkano_text::DrawText
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]
device: Arc<Device>,
queue: Arc<Queue>,
swapchain: Arc<Swapchain<W>>,
images: &[Arc<SwapchainImage<W>>]
) -> DrawText where
W: Send + Sync + 'static,
pub fn queue_text(
&mut self,
x: f32,
y: f32,
size: f32,
color: [f32; 4],
text: &str
)
[src]
&mut self,
x: f32,
y: f32,
size: f32,
color: [f32; 4],
text: &str
)
pub fn draw_text(
&mut self,
command_buffer: AutoCommandBufferBuilder,
image_num: usize
) -> AutoCommandBufferBuilder
[src]
&mut self,
command_buffer: AutoCommandBufferBuilder,
image_num: usize
) -> AutoCommandBufferBuilder
Auto Trait Implementations
impl Sync for DrawText
impl Unpin for DrawText
impl Send for DrawText
impl !UnwindSafe for DrawText
impl !RefUnwindSafe for DrawText
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,