mirror of
https://github.com/Lokathor/bytemuck.git
synced 2024-11-21 22:32:23 +00:00
Update lib.rs
This commit is contained in:
parent
a1b7c21a65
commit
7584fb2d19
@ -62,6 +62,9 @@ pub enum PodCastError {
|
||||
/// When casting an individual `T`, `&T`, or `&mut T` value the source size
|
||||
/// and destination size must be an exact match.
|
||||
SizeMismatch,
|
||||
/// For this type of cast the alignments must be exactly the same and they
|
||||
/// were not so now you're sad.
|
||||
AlignmentMismatch,
|
||||
}
|
||||
|
||||
/// Cast `T` into `U`
|
||||
|
Loading…
Reference in New Issue
Block a user