pub struct TopicNameCollection { /* private fields */ }Expand description
A class used to represent a collection of topics defined by their topic name. Subclassing this class beyond the classes within this file is not supported.
§Translation notes
Built only by TopicCollection::of_topic_names.
Implementations§
Source§impl TopicNameCollection
impl TopicNameCollection
Sourcepub fn topic_names(&self) -> &[String]
pub fn topic_names(&self) -> &[String]
Returns a collection of topic names.
Trait Implementations§
Source§impl Clone for TopicNameCollection
impl Clone for TopicNameCollection
Source§fn clone(&self) -> TopicNameCollection
fn clone(&self) -> TopicNameCollection
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for TopicNameCollection
impl RefUnwindSafe for TopicNameCollection
impl Send for TopicNameCollection
impl Sync for TopicNameCollection
impl Unpin for TopicNameCollection
impl UnsafeUnpin for TopicNameCollection
impl UnwindSafe for TopicNameCollection
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