Struct dae_parser::ProfileCommon
source · [−]pub struct ProfileCommon {
pub asset: Option<Box<Asset>>,
pub image: Vec<Image>,
pub new_param: Vec<NewParam>,
pub technique: TechniqueFx<CommonData>,
pub extra: Vec<Extra>,
}Expand description
Opens a block of platform-independent declarations for the common, fixed-function shader.
Fields
asset: Option<Box<Asset>>Asset management information about this element.
image: Vec<Image>Declares a standard COLLADA image resource.
new_param: Vec<NewParam>Creates a new parameter from a constrained set of
types recognizable by all platforms, see ParamType.
technique: TechniqueFx<CommonData>Declares the only technique for this effect.
extra: Vec<Extra>Provides arbitrary additional information about this element.
Implementations
sourceimpl ProfileCommon
impl ProfileCommon
sourcepub fn new(technique: TechniqueFx<CommonData>) -> Self
pub fn new(technique: TechniqueFx<CommonData>) -> Self
Construct a new ProfileCommon from the TechniqueFx data.
Trait Implementations
sourceimpl Clone for ProfileCommon
impl Clone for ProfileCommon
sourcefn clone(&self) -> ProfileCommon
fn clone(&self) -> ProfileCommon
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
sourceimpl Debug for ProfileCommon
impl Debug for ProfileCommon
sourceimpl From<ProfileCommon> for Profile
impl From<ProfileCommon> for Profile
sourcefn from(v: ProfileCommon) -> Self
fn from(v: ProfileCommon) -> Self
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for ProfileCommon
impl Send for ProfileCommon
impl Sync for ProfileCommon
impl Unpin for ProfileCommon
impl UnwindSafe for ProfileCommon
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)
🔬 This is a nightly-only experimental API. (
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more