pub struct ResolvedLayer {
pub source: String,
pub material: Material,
}Expand description
One target layer after resolution.
Fields§
§source: StringHow the input referred to the material ([materials] key, element
symbol, or "inline").
material: MaterialThe material with every energy set.
Trait Implementations§
Source§impl Clone for ResolvedLayer
impl Clone for ResolvedLayer
Source§fn clone(&self) -> ResolvedLayer
fn clone(&self) -> ResolvedLayer
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ResolvedLayer
impl Debug for ResolvedLayer
Source§impl PartialEq for ResolvedLayer
impl PartialEq for ResolvedLayer
impl StructuralPartialEq for ResolvedLayer
Auto Trait Implementations§
impl Freeze for ResolvedLayer
impl RefUnwindSafe for ResolvedLayer
impl Send for ResolvedLayer
impl Sync for ResolvedLayer
impl Unpin for ResolvedLayer
impl UnsafeUnpin for ResolvedLayer
impl UnwindSafe for ResolvedLayer
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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