Struct rs_pbrt::core::medium::MediumInterface
source · pub struct MediumInterface {
pub inside: Option<Arc<Medium>>,
pub outside: Option<Arc<Medium>>,
}
Fields§
§inside: Option<Arc<Medium>>
§outside: Option<Arc<Medium>>
Implementations§
Trait Implementations§
source§impl Clone for MediumInterface
impl Clone for MediumInterface
source§fn clone(&self) -> MediumInterface
fn clone(&self) -> MediumInterface
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Default for MediumInterface
impl Default for MediumInterface
source§fn default() -> MediumInterface
fn default() -> MediumInterface
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl RefUnwindSafe for MediumInterface
impl Send for MediumInterface
impl Sync for MediumInterface
impl Unpin for MediumInterface
impl UnwindSafe for MediumInterface
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> Pointable for T
impl<T> Pointable for T
source§impl<R, P> ReadPrimitive<R> for Pwhere
R: Read + ReadEndian<P>,
P: Default,
impl<R, P> ReadPrimitive<R> for Pwhere R: Read + ReadEndian<P>, P: Default,
source§fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
Read this value from the supplied reader. Same as
ReadEndian::read_from_little_endian()
.