Trait Vulkan Swapper Ext
Source pub trait VulkanSwapperExt: IsA<VulkanSwapper> + 'static {
// Provided methods
fn choose_queue(
&self,
available_queue: Option<&impl IsA<VulkanQueue>>,
) -> Result<(), Error> { ... }
fn supported_caps(&self) -> Result<Caps, Error> { ... }
fn render_buffer(&self, buffer: &Buffer) -> Result<(), Error> { ... }
fn set_caps(&self, caps: &Caps) -> Result<(), Error> { ... }
fn is_force_aspect_ratio(&self) -> bool { ... }
fn set_force_aspect_ratio(&self, force_aspect_ratio: bool) { ... }
fn connect_force_aspect_ratio_notify<F: Fn(&Self) + Send + Sync + 'static>(
&self,
f: F,
) -> SignalHandlerId { ... }
}Expand description
Provided Methods§
Sourcefn choose_queue(
&self,
available_queue: Option<&impl IsA<VulkanQueue>>,
) -> Result<(), Error>
fn choose_queue( &self, available_queue: Option<&impl IsA<VulkanQueue>>, ) -> Result<(), Error>
§available_queue
a VulkanQueue chosen elsewhere
fn supported_caps(&self) -> Result<Caps, Error>
fn render_buffer(&self, buffer: &Buffer) -> Result<(), Error>
fn set_caps(&self, caps: &Caps) -> Result<(), Error>
fn is_force_aspect_ratio(&self) -> bool
fn set_force_aspect_ratio(&self, force_aspect_ratio: bool)
fn connect_force_aspect_ratio_notify<F: Fn(&Self) + Send + Sync + 'static>( &self, f: F, ) -> SignalHandlerId
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.