Type Alias freya_engine::prelude::svg::fe::Func
pub type Func = RCHandle<SkSVGFeFunc>;
Aliased Type§
struct Func(/* private fields */);
Implementations
§impl RCHandle<SkSVGFeFunc>
impl RCHandle<SkSVGFeFunc>
pub fn func_a() -> RCHandle<SkSVGFeFunc>
pub fn func_r() -> RCHandle<SkSVGFeFunc>
pub fn func_g() -> RCHandle<SkSVGFeFunc>
pub fn func_b() -> RCHandle<SkSVGFeFunc>
pub fn table_values(&self) -> &[f32]
pub fn amplitude(&self) -> f32
pub fn set_amplitude(&mut self, value: f32)
pub fn exponent(&self) -> f32
pub fn set_exponent(&mut self, value: f32)
pub fn intercept(&self) -> f32
pub fn set_intercept(&mut self, value: f32)
pub fn offset(&self) -> f32
pub fn set_offset(&mut self, value: f32)
pub fn slope(&self) -> f32
pub fn set_slope(&mut self, value: f32)
pub fn kind(&self) -> &SkSVGFeFuncType
pub fn set_kind(&mut self, value: SkSVGFeFuncType)
§impl<T> RCHandle<T>where
T: NativeRefCounted + NodeSubtype,
impl<T> RCHandle<T>where
T: NativeRefCounted + NodeSubtype,
pub fn as_base(&self) -> &RCHandle<<T as NodeSubtype>::Base>
pub fn as_base_mut(&mut self) -> &mut RCHandle<<T as NodeSubtype>::Base>
Trait Implementations
§impl<H> ConditionallySend for RCHandle<H>where
H: NativeRefCountedBase,
impl<H> ConditionallySend for RCHandle<H>where
H: NativeRefCountedBase,
RCHandle<H>
is conditionally Send and can be sent to
another thread when its reference count is 1.
§impl<N> Debug for RCHandle<N>where
N: NativeRefCounted,
RCHandle<N>: DebugAttributes,
impl<N> Debug for RCHandle<N>where
N: NativeRefCounted,
RCHandle<N>: DebugAttributes,
§impl DebugAttributes for RCHandle<SkSVGFeFunc>
impl DebugAttributes for RCHandle<SkSVGFeFunc>
§impl<T> Deref for RCHandle<T>where
T: NativeRefCounted + NodeSubtype,
impl<T> Deref for RCHandle<T>where
T: NativeRefCounted + NodeSubtype,
§impl<T> DerefMut for RCHandle<T>where
T: NativeRefCounted + NodeSubtype,
impl<T> DerefMut for RCHandle<T>where
T: NativeRefCounted + NodeSubtype,
This implementation of DerefMut
causes subsequent UB when the containing
[RCHandle
] gets overwritten by a base type that does not match the actual
underlying type.
§impl<N> Flattenable for RCHandle<N>where
N: NativeFlattenable + NativeRefCountedBase,
impl<N> Flattenable for RCHandle<N>where
N: NativeFlattenable + NativeRefCountedBase,
§impl<N> From<&RCHandle<N>> for RCHandle<N>where
N: NativeRefCounted,
impl<N> From<&RCHandle<N>> for RCHandle<N>where
N: NativeRefCounted,
A reference counted handle is cheap to clone, so we do support a conversion from a reference to a ref counter to an owned handle.