Lines Matching refs:access
18913 /// can enclose and provide immutable access to borrowed data, and clone the
19324 //! only allows access to `&T`, a shared reference.
19337 //! This type allows for shared access to the contained data, and is often
21512 /// // The strong here keeps it alive, so we can still access the object.
22505 // Using `Vec` to access `set_len()`.
24741 // this would alias with concurrent access to the reference counts (e.g. by `Weak`).
24759 // counter in `drop` -- the only access that happens when any but the last reference
24819 // > It is important to enforce any possible access to the object in one
24822 // > operation after dropping a reference (any access to the object
24924 /// // The strong here keeps it alive, so we can still access the object.
27374 // `as_mut` is okay here because we have exclusive access to the entirety
27395 // `as_mut` is okay here because we have exclusive access to the entirety
27817 // we skip manually so we can access the head field without
33908 // We duplicate the root NodeRef here -- we will never access it in a way
35247 /// Provides in-place mutable access to an occupied entry before any
36057 // Check immutable access.
36059 // Perform mutable access.
38183 /// Borrows exclusive access to the data of an internal node.
38196 // Crucially, we only access the `len` field here. If BorrowType is marker::ValMut,
38346 /// Borrows exclusive access to the leaf portion of any leaf or internal node.
38349 // SAFETY: we have exclusive access to the entire node.
38353 /// Offers exclusive access to the leaf portion of any leaf or internal node.
38356 // SAFETY: we have exclusive access to the entire node.
38362 /// Borrows exclusive access to an element of the key storage area.
38371 // until the key slice reference is dropped, as we have unique access
38376 /// Borrows exclusive access to an element or slice of the node's value storage area.
38385 // until the value slice reference is dropped, as we have unique access
38392 /// Borrows exclusive access to an element or slice of the node's storage area for edge contents.
38401 // until the edge slice reference is dropped, as we have unique access
38427 /// Borrows exclusive access to the length of the node.
38489 /// Requires exclusive access to the `Root` object but not to the root node;
38914 // node pointer is dereferenced, we access the edges array with a
40428 /// in memory. If you want to access the elements as a single slice, such as for
42530 /// Getting immutable access to the contiguous slice.
42544 /// // while still having immutable access to `buf`.
43086 self.get(index).expect("Out of bounds access")
43094 self.get_mut(index).expect("Out of bounds access")
44774 // so it's always a valid index to access.
44775 // It is safe to access index 0 (i.e. `ptr`), because
46673 /// The SourceIter parent trait is necessary for the specializing function to access the allocation
46725 // source pointer at all. If it uses unchecked access via TrustedRandomAccess
47005 /// The `Vec` type allows to access values by index, because it implements the
47013 /// However be careful: if you try to access an index which isn't in the `Vec`,
47045 /// when you just want to provide read access. The same goes for [`String`] and
47126 /// on every access.
48852 /// This method provides unique access to all vec parts at once in `extend_from_within`.