pub struct FragmentRef<'a> {
pub parts: &'a [OutputPart],
pub tags: &'a [String],
}Expand description
A borrowed view of one fragment inside a Fragments store.
Fields§
§parts: &'a [OutputPart]Trait Implementations§
Source§impl<'a> Clone for FragmentRef<'a>
impl<'a> Clone for FragmentRef<'a>
Source§fn clone(&self) -> FragmentRef<'a>
fn clone(&self) -> FragmentRef<'a>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl<'a> Copy for FragmentRef<'a>
Source§impl<'a> Debug for FragmentRef<'a>
impl<'a> Debug for FragmentRef<'a>
Source§impl<'a> PartialEq for FragmentRef<'a>
impl<'a> PartialEq for FragmentRef<'a>
impl<'a> StructuralPartialEq for FragmentRef<'a>
Auto Trait Implementations§
impl<'a> Freeze for FragmentRef<'a>
impl<'a> RefUnwindSafe for FragmentRef<'a>
impl<'a> Send for FragmentRef<'a>
impl<'a> Sync for FragmentRef<'a>
impl<'a> Unpin for FragmentRef<'a>
impl<'a> UnsafeUnpin for FragmentRef<'a>
impl<'a> UnwindSafe for FragmentRef<'a>
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