[−][src]Struct shaderc::ResolvedInclude
A representation of a successfully resolved include directive, containing the name of the include and its contents.
Fields
resolved_name: String
A name uniquely identifying the resolved include. Typically the absolute path of the file.
This name is used in error messages and to disambiguate different includes.
This field must not be empty. Compilation will panic if an empty string is provided.
content: String
The content of the include to substitute the include directive with.
Trait Implementations
impl Clone for ResolvedInclude
[src]
fn clone(&self) -> ResolvedInclude
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for ResolvedInclude
[src]
impl Eq for ResolvedInclude
[src]
impl Hash for ResolvedInclude
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
pub fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl Ord for ResolvedInclude
[src]
fn cmp(&self, other: &ResolvedInclude) -> Ordering
[src]
#[must_use]pub fn max(self, other: Self) -> Self
1.21.0[src]
#[must_use]pub fn min(self, other: Self) -> Self
1.21.0[src]
#[must_use]pub fn clamp(self, min: Self, max: Self) -> Self
1.50.0[src]
impl PartialEq<ResolvedInclude> for ResolvedInclude
[src]
fn eq(&self, other: &ResolvedInclude) -> bool
[src]
fn ne(&self, other: &ResolvedInclude) -> bool
[src]
impl PartialOrd<ResolvedInclude> for ResolvedInclude
[src]
fn partial_cmp(&self, other: &ResolvedInclude) -> Option<Ordering>
[src]
fn lt(&self, other: &ResolvedInclude) -> bool
[src]
fn le(&self, other: &ResolvedInclude) -> bool
[src]
fn gt(&self, other: &ResolvedInclude) -> bool
[src]
fn ge(&self, other: &ResolvedInclude) -> bool
[src]
impl StructuralEq for ResolvedInclude
[src]
impl StructuralPartialEq for ResolvedInclude
[src]
Auto Trait Implementations
impl RefUnwindSafe for ResolvedInclude
[src]
impl Send for ResolvedInclude
[src]
impl Sync for ResolvedInclude
[src]
impl Unpin for ResolvedInclude
[src]
impl UnwindSafe for ResolvedInclude
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut 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.
pub 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>,