pub struct ComponentMappingBuilder { /* private fields */ }Expand description
Builder for ComponentMapping.
Implementations§
Source§impl ComponentMappingBuilder
impl ComponentMappingBuilder
pub fn r(self, value: ComponentSwizzle) -> ComponentMappingBuilder
pub fn g(self, value: ComponentSwizzle) -> ComponentMappingBuilder
pub fn b(self, value: ComponentSwizzle) -> ComponentMappingBuilder
pub fn a(self, value: ComponentSwizzle) -> ComponentMappingBuilder
Trait Implementations§
Source§impl Deref for ComponentMappingBuilder
impl Deref for ComponentMappingBuilder
Source§type Target = ComponentMapping
type Target = ComponentMapping
The resulting type after dereferencing.
Source§impl DerefMut for ComponentMappingBuilder
impl DerefMut for ComponentMappingBuilder
Auto Trait Implementations§
impl Freeze for ComponentMappingBuilder
impl RefUnwindSafe for ComponentMappingBuilder
impl Send for ComponentMappingBuilder
impl Sync for ComponentMappingBuilder
impl Unpin for ComponentMappingBuilder
impl UnsafeUnpin for ComponentMappingBuilder
impl UnwindSafe for ComponentMappingBuilder
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