#[repr(C)]pub struct WeslResolverOptions {
pub userdata: *mut c_void,
pub resolve_source: WeslResolveSourceFunction,
pub resolve_source_free: WeslResolveSourceFreeFunction,
pub resolve_module: WeslResolveModuleFunctionOption,
pub resolve_module_free: WeslResolveModuleFreeFunctionOption,
pub display_name: WeslResolveStringFunctionOption,
pub free_display_name: WeslResolveFreeStringFunctionOption,
pub fs_path: WeslResolveStringFunctionOption,
pub free_fs_path: WeslResolveFreeStringFunctionOption,
}Fields§
§userdata: *mut c_void§resolve_source: WeslResolveSourceFunction§resolve_source_free: WeslResolveSourceFreeFunction§resolve_module: WeslResolveModuleFunctionOption§resolve_module_free: WeslResolveModuleFreeFunctionOption§display_name: WeslResolveStringFunctionOption§free_display_name: WeslResolveFreeStringFunctionOption§fs_path: WeslResolveStringFunctionOption§free_fs_path: WeslResolveFreeStringFunctionOptionTrait Implementations§
Source§impl Clone for WeslResolverOptions
impl Clone for WeslResolverOptions
impl Copy for WeslResolverOptions
Auto Trait Implementations§
impl !Send for WeslResolverOptions
impl !Sync for WeslResolverOptions
impl Freeze for WeslResolverOptions
impl RefUnwindSafe for WeslResolverOptions
impl Unpin for WeslResolverOptions
impl UnsafeUnpin for WeslResolverOptions
impl UnwindSafe for WeslResolverOptions
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more