pub struct CompositionSource(/* private fields */);Expand description
A source accepted by final composition. Native declarations, retained native outputs and sealed local images all retain their actual content.
Trait Implementations§
Source§impl Clone for CompositionSource
impl Clone for CompositionSource
Source§impl From<&Canvas> for CompositionSource
impl From<&Canvas> for CompositionSource
Source§impl From<&Composite> for CompositionSource
impl From<&Composite> for CompositionSource
Source§impl From<&ImageAsset> for CompositionSource
impl From<&ImageAsset> for CompositionSource
Source§fn from(asset: &ImageAsset) -> Self
fn from(asset: &ImageAsset) -> Self
Converts to this type from the input type.
Source§impl From<&Output> for CompositionSource
impl From<&Output> for CompositionSource
Source§impl From<&TextPanel> for CompositionSource
impl From<&TextPanel> for CompositionSource
Source§impl From<Canvas> for CompositionSource
impl From<Canvas> for CompositionSource
Source§impl From<Composite> for CompositionSource
impl From<Composite> for CompositionSource
Source§impl From<ImageAsset> for CompositionSource
impl From<ImageAsset> for CompositionSource
Source§fn from(asset: ImageAsset) -> Self
fn from(asset: ImageAsset) -> Self
Converts to this type from the input type.
Source§impl From<Output> for CompositionSource
impl From<Output> for CompositionSource
Source§impl From<TextPanel> for CompositionSource
impl From<TextPanel> for CompositionSource
Source§impl TryFrom<&Path> for CompositionSource
impl TryFrom<&Path> for CompositionSource
Source§impl TryFrom<&PathBuf> for CompositionSource
impl TryFrom<&PathBuf> for CompositionSource
Source§impl TryFrom<&RecipeFigure> for CompositionSource
impl TryFrom<&RecipeFigure> for CompositionSource
Source§impl TryFrom<&str> for CompositionSource
impl TryFrom<&str> for CompositionSource
Source§impl TryFrom<PathBuf> for CompositionSource
impl TryFrom<PathBuf> for CompositionSource
Auto Trait Implementations§
impl !RefUnwindSafe for CompositionSource
impl !UnwindSafe for CompositionSource
impl Forget for CompositionSource
impl Freeze for CompositionSourcewhere
*const PlotDescription is !null: Freeze,
PhantomData<PlotDescription>: Freeze,
*const Canvas is !null: Freeze,
PhantomData<Canvas>: Freeze,
*const ArcInner<String> is !null: Freeze,
PhantomData<ArcInner<String>>: Freeze,
*const ArcInner<Vec<FontFamily>> is !null: Freeze,
PhantomData<ArcInner<Vec<FontFamily>>>: Freeze,
*const ArcInner<TextInstructions> is !null: Freeze,
PhantomData<ArcInner<TextInstructions>>: Freeze,
*const ArcInner<Asset> is !null: Freeze,
PhantomData<ArcInner<Asset>>: Freeze,
*const ArcInner<PathBuf> is !null: Freeze,
PhantomData<ArcInner<PathBuf>>: Freeze,
*const ArcInner<RenderedScene> is !null: Freeze,
PhantomData<ArcInner<RenderedScene>>: Freeze,
*const ArcInner<SourceInfo> is !null: Freeze,
PhantomData<ArcInner<SourceInfo>>: Freeze,
impl Move for CompositionSource
impl Send for CompositionSource
impl Sync for CompositionSource
impl Unpin for CompositionSource
impl UnsafeUnpin for CompositionSourcewhere
*const PlotDescription is !null: UnsafeUnpin,
PhantomData<PlotDescription>: UnsafeUnpin,
*const Canvas is !null: UnsafeUnpin,
PhantomData<Canvas>: UnsafeUnpin,
*const ArcInner<String> is !null: UnsafeUnpin,
PhantomData<ArcInner<String>>: UnsafeUnpin,
*const ArcInner<Vec<FontFamily>> is !null: UnsafeUnpin,
PhantomData<ArcInner<Vec<FontFamily>>>: UnsafeUnpin,
*const ArcInner<TextInstructions> is !null: UnsafeUnpin,
PhantomData<ArcInner<TextInstructions>>: UnsafeUnpin,
*const ArcInner<Asset> is !null: UnsafeUnpin,
PhantomData<ArcInner<Asset>>: UnsafeUnpin,
*const ArcInner<PathBuf> is !null: UnsafeUnpin,
PhantomData<ArcInner<PathBuf>>: UnsafeUnpin,
*const ArcInner<RenderedScene> is !null: UnsafeUnpin,
PhantomData<ArcInner<RenderedScene>>: UnsafeUnpin,
*const ArcInner<SourceInfo> is !null: UnsafeUnpin,
PhantomData<ArcInner<SourceInfo>>: UnsafeUnpin,
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> Read<Exclusive, BecauseExclusive> for Twhere
T: ?Sized,
Source§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
Source§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self from the equivalent element of its
superset. Read moreSource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self is actually part of its subset T (and can be converted to it).Source§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset but without any property checks. Always succeeds.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self to the equivalent element of its superset.