Skip to main content

Globals

Trait Globals 

Source
pub trait Globals {
    // Required method
    fn global(&self, name: &str) -> Option<String>;
}
Expand description

Where a global placeholder reads its value.

The desktop reads the property store; the emitter reads the state a page is rendered with. Both answer the same question, and the resolver asks it the same way.

Required Methods§

Source

fn global(&self, name: &str) -> Option<String>

The value of the global signal name, or None when nothing has set it.

Implementations on Foreign Types§

Source§

impl Globals for PropertyStore

Source§

fn global(&self, name: &str) -> Option<String>

Implementors§