Struct dae_parser::TechniqueFx
source · [−]pub struct TechniqueFx<T> {
pub id: Option<String>,
pub sid: String,
pub asset: Option<Box<Asset>>,
pub data: T,
pub extra: Vec<Extra>,
}
Expand description
Holds a description of the textures, samplers, shaders, parameters, and passes necessary for rendering this effect using one method.
It is parameterized on additional data determined by the parent of this element.
Fields
id: Option<String>
A text string containing the unique identifier of the element.
sid: String
A text string value containing the subidentifier of this element. This value must be unique within the scope of the parent element.
asset: Option<Box<Asset>>
Asset management information about this element.
data: T
The profile-specific child data.
extra: Vec<Extra>
Provides arbitrary additional information about this element.
Implementations
Trait Implementations
sourceimpl<T: Clone> Clone for TechniqueFx<T>
impl<T: Clone> Clone for TechniqueFx<T>
sourcefn clone(&self) -> TechniqueFx<T>
fn clone(&self) -> TechniqueFx<T>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
Auto Trait Implementations
impl<T> RefUnwindSafe for TechniqueFx<T> where
T: RefUnwindSafe,
impl<T> Send for TechniqueFx<T> where
T: Send,
impl<T> Sync for TechniqueFx<T> where
T: Sync,
impl<T> Unpin for TechniqueFx<T> where
T: Unpin,
impl<T> UnwindSafe for TechniqueFx<T> where
T: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more