Struct asuran::manifest::destination::Listing [−][src]
pub struct Listing { /* fields omitted */ }
Expand description
Describes an abstract representation of a directory structure.
Conceptually represents the structure as a DAG
Implementations
Adds a child to the directory with the specified path
Will do nothing if the given directory does not exist or is not a directory
If the parent path is empty, will add it to the “children of the root node” entry
pub fn iter(&self) -> RefListingIterator<'_>ⓘNotable traits for RefListingIterator<'a>impl<'a> Iterator for RefListingIterator<'a> type Item = &'a Node;
pub fn iter(&self) -> RefListingIterator<'_>ⓘNotable traits for RefListingIterator<'a>impl<'a> Iterator for RefListingIterator<'a> type Item = &'a Node;
impl<'a> Iterator for RefListingIterator<'a> type Item = &'a Node;
Creates a by-reference iterator over the Nodes in this listing
Trait Implementations
pub fn deserialize<__D>(
__deserializer: __D
) -> Result<Listing, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
pub fn deserialize<__D>(
__deserializer: __D
) -> Result<Listing, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
type IntoIter = ListingIterator
type IntoIter = ListingIterator
Which kind of iterator are we turning this into?
type IntoIter = RefListingIterator<'a>
type IntoIter = RefListingIterator<'a>
Which kind of iterator are we turning this into?
pub fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
pub fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for Listing
impl UnwindSafe for Listing
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more