Skip to main content

FrameBinding

Enum FrameBinding 

Source
pub enum FrameBinding {
Show 24 variants SolidColor { node_id: NodeId, color: NodeProperty, buffer: BufferId, }, Shape { node_id: NodeId, geometry_kind: NodeProperty, width: NodeProperty, height: NodeProperty, border_radius: NodeProperty, position: NodeProperty, fill_enabled: NodeProperty, fill_color: NodeProperty, stroke_enabled: NodeProperty, stroke_color: NodeProperty, stroke_width: NodeProperty, buffer: BufferId, }, Text {
Show 17 fields node_id: NodeId, content: NodeProperty, font_family: NodeProperty, font_size: NodeProperty, font_weight: NodeProperty, font_style: NodeProperty, max_width: NodeProperty, position: NodeProperty, color: NodeProperty, alignment_horizontal: NodeProperty, alignment_vertical: NodeProperty, atlas_texture: TextureId, globals_buffer: BufferId, instances_buffer: BufferId, atlas_size: Size, max_glyphs: usize, size: Size,
}, Path { node_id: NodeId, data: NodeProperty, position: NodeProperty, fill_enabled: NodeProperty, fill_color: NodeProperty, stroke_enabled: NodeProperty, stroke_color: NodeProperty, stroke_width: NodeProperty, params_buffer: BufferId, points_buffer: BufferId, max_points: usize, }, AlphaPremultiply { node_id: NodeId, mode: NodeProperty, buffer: BufferId, }, ChannelShuffle { node_id: NodeId, red: NodeProperty, green: NodeProperty, blue: NodeProperty, alpha: NodeProperty, buffer: BufferId, }, ColorGrade { node_id: NodeId, lut_source: NodeProperty, strength: NodeProperty, interpolation: NodeProperty, params_buffer: BufferId, lut_buffer: BufferId, }, Exposure { node_id: NodeId, exposure: NodeProperty, contrast: NodeProperty, offset: NodeProperty, buffer: BufferId, }, HueSaturation { node_id: NodeId, hue_degrees: NodeProperty, saturation: NodeProperty, lightness: NodeProperty, buffer: BufferId, }, Levels { node_id: NodeId, black_point: NodeProperty, white_point: NodeProperty, gamma: NodeProperty, output_black: NodeProperty, output_white: NodeProperty, buffer: BufferId, }, Blur { node_id: NodeId, radius: NodeProperty, buffer: BufferId, }, Curves { node_id: NodeId, curve_source: NodeProperty, strength: NodeProperty, params_buffer: BufferId, curve_buffer: BufferId, }, Shadow { node_id: NodeId, offset_x: NodeProperty, offset_y: NodeProperty, radius: NodeProperty, color: NodeProperty, opacity: NodeProperty, buffer: BufferId, }, WgslShader { node_id: NodeId, shader: NodeProperty, bindings: NodeProperty, buffer: BufferId, }, Boolean { node_id: NodeId, operation: NodeProperty, threshold: NodeProperty, buffer: BufferId, }, RasterMultiMerge { node_id: NodeId, opacity: NodeProperty, blend_mode: NodeProperty, buffer: BufferId, }, Merge { node_id: NodeId, opacity: NodeProperty, blend_mode: NodeProperty, has_mask: bool, buffer: BufferId, }, Memo { node_id: NodeId, cache_id: NodeProperty, allow_expressions: NodeProperty, }, TimeRemap { node_id: NodeId, frame: NodeProperty, loop_enabled: NodeProperty, loop_start: NodeProperty, loop_end: NodeProperty, }, Transform { node_id: NodeId, scale_x: NodeProperty, scale_y: NodeProperty, translate_x: NodeProperty, translate_y: NodeProperty, rotate: NodeProperty, pivot_x: NodeProperty, pivot_y: NodeProperty, sampling: NodeProperty, buffer: BufferId, }, Crop { node_id: NodeId, x: NodeProperty, y: NodeProperty, width: NodeProperty, height: NodeProperty, buffer: BufferId, }, Resize { node_id: NodeId, width: NodeProperty, height: NodeProperty, mode: NodeProperty, sampling: NodeProperty, buffer: BufferId, }, Switch { node_id: NodeId, selected_layer: Option<usize>, }, MediaInput { node_id: NodeId, source: NodeProperty, texture: TextureId, size: Size, },
}

Variants§

§

SolidColor

Fields

§node_id: NodeId
§buffer: BufferId
§

Shape

Fields

§node_id: NodeId
§geometry_kind: NodeProperty
§border_radius: NodeProperty
§position: NodeProperty
§fill_enabled: NodeProperty
§fill_color: NodeProperty
§stroke_enabled: NodeProperty
§stroke_color: NodeProperty
§stroke_width: NodeProperty
§buffer: BufferId
§

Text

Fields

§node_id: NodeId
§font_family: NodeProperty
§font_size: NodeProperty
§font_weight: NodeProperty
§font_style: NodeProperty
§max_width: NodeProperty
§position: NodeProperty
§alignment_horizontal: NodeProperty
§alignment_vertical: NodeProperty
§atlas_texture: TextureId
§globals_buffer: BufferId
§instances_buffer: BufferId
§atlas_size: Size
§max_glyphs: usize
§size: Size
§

Path

Fields

§node_id: NodeId
§position: NodeProperty
§fill_enabled: NodeProperty
§fill_color: NodeProperty
§stroke_enabled: NodeProperty
§stroke_color: NodeProperty
§stroke_width: NodeProperty
§params_buffer: BufferId
§points_buffer: BufferId
§max_points: usize
§

AlphaPremultiply

Fields

§node_id: NodeId
§buffer: BufferId
§

ChannelShuffle

§

ColorGrade

Fields

§node_id: NodeId
§lut_source: NodeProperty
§strength: NodeProperty
§interpolation: NodeProperty
§params_buffer: BufferId
§lut_buffer: BufferId
§

Exposure

Fields

§node_id: NodeId
§exposure: NodeProperty
§contrast: NodeProperty
§buffer: BufferId
§

HueSaturation

Fields

§node_id: NodeId
§hue_degrees: NodeProperty
§saturation: NodeProperty
§lightness: NodeProperty
§buffer: BufferId
§

Levels

Fields

§node_id: NodeId
§black_point: NodeProperty
§white_point: NodeProperty
§output_black: NodeProperty
§output_white: NodeProperty
§buffer: BufferId
§

Blur

Fields

§node_id: NodeId
§buffer: BufferId
§

Curves

Fields

§node_id: NodeId
§curve_source: NodeProperty
§strength: NodeProperty
§params_buffer: BufferId
§curve_buffer: BufferId
§

Shadow

Fields

§node_id: NodeId
§offset_x: NodeProperty
§offset_y: NodeProperty
§buffer: BufferId
§

WgslShader

Fields

§node_id: NodeId
§bindings: NodeProperty
§buffer: BufferId
§

Boolean

Fields

§node_id: NodeId
§operation: NodeProperty
§threshold: NodeProperty
§buffer: BufferId
§

RasterMultiMerge

Fields

§node_id: NodeId
§blend_mode: NodeProperty
§buffer: BufferId
§

Merge

Fields

§node_id: NodeId
§blend_mode: NodeProperty
§has_mask: bool
§buffer: BufferId
§

Memo

Fields

§node_id: NodeId
§cache_id: NodeProperty
§allow_expressions: NodeProperty
§

TimeRemap

Fields

§node_id: NodeId
§loop_enabled: NodeProperty
§loop_start: NodeProperty
§loop_end: NodeProperty
§

Transform

Fields

§node_id: NodeId
§translate_x: NodeProperty
§translate_y: NodeProperty
§sampling: NodeProperty
§buffer: BufferId
§

Crop

§

Resize

Fields

§node_id: NodeId
§sampling: NodeProperty
§buffer: BufferId
§

Switch

Fields

§node_id: NodeId
§selected_layer: Option<usize>
§

MediaInput

Fields

§node_id: NodeId
§texture: TextureId
§size: Size

Implementations§

Trait Implementations§

Source§

impl Clone for FrameBinding

Source§

fn clone(&self) -> FrameBinding

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for FrameBinding

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> WithSubscriber for T

Source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

impl<T> WasmNotSend for T
where T: Send,

Source§

impl<T> WasmNotSendSync for T

Source§

impl<T> WasmNotSync for T
where T: Sync,