relm4-macros 0.11.0

An idiomatic GUI library inspired by Elm and based on gtk4-rs
Documentation
1
2
3
4
5
6
7
8
9
10
use proc_macro2::Span as Span2;
use syn::spanned::Spanned;

use crate::widgets::WidgetFunc;

impl WidgetFunc {
    pub(crate) fn span(&self) -> Span2 {
        self.path.span()
    }
}