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 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl 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
Converts to this type from the input type.
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 Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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