pub struct TopicMap {
pub direction: TopicDirection,
pub types: &'static [&'static NamedType],
pub topics: &'static [(&'static str, Key)],
}
Expand description
An overview of a list of topics
Typically generated by the topics!()
macro. Contains a list of all
unique types used by a list of topics as well as the list of the topics
by path and key
Fields§
§direction: TopicDirection
The direction of these topic messages
types: &'static [&'static NamedType]
The set of unique types used by all topics in this map
topics: &'static [(&'static str, Key)]
The list of topics by path string and topic key
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TopicMap
impl RefUnwindSafe for TopicMap
impl Send for TopicMap
impl Sync for TopicMap
impl Unpin for TopicMap
impl UnwindSafe for TopicMap
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more