Struct rs_pbrt::core::mipmap::ResampleWeight
source · pub struct ResampleWeight {
pub first_texel: i32,
pub weight: [Float; 4],
}
Fields§
§first_texel: i32
§weight: [Float; 4]
Trait Implementations§
source§impl Clone for ResampleWeight
impl Clone for ResampleWeight
source§fn clone(&self) -> ResampleWeight
fn clone(&self) -> ResampleWeight
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 Debug for ResampleWeight
impl Debug for ResampleWeight
source§impl Default for ResampleWeight
impl Default for ResampleWeight
source§fn default() -> ResampleWeight
fn default() -> ResampleWeight
Returns the “default value” for a type. Read more
impl Copy for ResampleWeight
Auto Trait Implementations§
impl RefUnwindSafe for ResampleWeight
impl Send for ResampleWeight
impl Sync for ResampleWeight
impl Unpin for ResampleWeight
impl UnwindSafe for ResampleWeight
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()
.