Struct rhyoea_common::ffi::vulkan_property::Raw[][src]

pub struct Raw { /* fields omitted */ }

Raw VulkanProperty

Should not be used It can be useful when you want to force a VulkanProperty or in a unit test

Implementations

impl Raw[src]

#[must_use]pub const unsafe fn new(name: String) -> Self[src]

Create a new RawVulkanProperty

Example

use rhyoea_common::ffi::vulkan_property::Raw;

let _ = unsafe { Raw::new("Bar".to_string()) };

Safety

Should not only be used for unit tests or force behaviour if you know what you are doing

Builders and Vulkan can have an unstable behavior

Trait Implementations

impl Clone for Raw[src]

impl Debug for Raw[src]

impl Eq for Raw[src]

impl FromPtr<i8> for Raw[src]

impl Hash for Raw[src]

impl PartialEq<Raw> for Raw[src]

impl StructuralEq for Raw[src]

impl StructuralPartialEq for Raw[src]

impl VulkanProperty for Raw[src]

Auto Trait Implementations

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> From<T> for T[src]

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

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.