pub struct ProgramComponent {
pub type_id: TypeId,
pub is_main_component: bool,
pub is_primitive: bool,
pub is_struct_only_component: bool,
pub template: Option<ComponentTemplate>,
pub settings: Option<Vec<SettingsBlockElement>>,
pub timelines: Vec<TimelineDefinition>,
pub route_branch: Option<RouteBranchDescriptor>,
}Fields§
§type_id: TypeId§is_main_component: bool§is_primitive: bool§is_struct_only_component: bool§template: Option<ComponentTemplate>§settings: Option<Vec<SettingsBlockElement>>§timelines: Vec<TimelineDefinition>§route_branch: Option<RouteBranchDescriptor>Trait Implementations§
Source§impl Clone for ProgramComponent
impl Clone for ProgramComponent
Source§fn clone(&self) -> ProgramComponent
fn clone(&self) -> ProgramComponent
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Default for ProgramComponent
impl Default for ProgramComponent
Source§fn default() -> ProgramComponent
fn default() -> ProgramComponent
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ProgramComponent
impl<'de> Deserialize<'de> for ProgramComponent
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<ProgramComponent, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<ProgramComponent, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<&ComponentDefinition> for ProgramComponent
impl From<&ComponentDefinition> for ProgramComponent
Source§fn from(definition: &ComponentDefinition) -> ProgramComponent
fn from(definition: &ComponentDefinition) -> ProgramComponent
Converts to this type from the input type.
Source§impl Serialize for ProgramComponent
impl Serialize for ProgramComponent
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for ProgramComponent
impl RefUnwindSafe for ProgramComponent
impl Send for ProgramComponent
impl Sync for ProgramComponent
impl Unpin for ProgramComponent
impl UnsafeUnpin for ProgramComponent
impl UnwindSafe for ProgramComponent
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
impl<T> Read<Exclusive, BecauseExclusive> for Twhere
T: ?Sized,
Source§impl<T, U> RoundInto<U> for Twhere
U: RoundFrom<T>,
impl<T, U> RoundInto<U> for Twhere
U: RoundFrom<T>,
Source§fn round_into(self) -> U
fn round_into(self) -> U
Performs the conversion.