[−][src]Struct gled::Renderer
Fields
config: Arc<RwLock<RendererConfig>>
hide_sidepanels: bool
running: Arc<AtomicBool>
frozen: Arc<AtomicBool>
image_svg: Arc<Mutex<Option<Image>>>
image_live: Arc<Mutex<Option<Image>>>
image_preview: Arc<Mutex<Option<Image>>>
live: Arc<Mutex<Option<Image>>>
preview: Arc<Mutex<Option<Image>>>
measurement_points: Arc<RwLock<Option<HashMap<String, Vec<MeasurementPoint>>>>>
palettes_cycle_last: Arc<Mutex<Instant>>
presets_cycle_last: Arc<Mutex<Instant>>
render_group_cycle_last: Arc<Mutex<Instant>>
Implementations
impl Renderer
[src]
pub fn start(&self)
[src]
Start animation thread
pub fn stop(&self)
[src]
Stop animation thread
pub fn render_on_context(&self, context: &Context, size: &Size, live: bool)
[src]
Plit a rendererd animation onto a given context
pub fn configure(&self)
[src]
(Re)Setup surfaces and SVG render.
Trait Implementations
impl Default for Renderer
[src]
impl<'de> Deserialize<'de> for Renderer where
Renderer: Default,
[src]
Renderer: Default,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl Serialize for Renderer
[src]
Auto Trait Implementations
impl RefUnwindSafe for Renderer
impl Send for Renderer
impl Sync for Renderer
impl Unpin for Renderer
impl UnwindSafe for Renderer
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,