I don't think they are fungi - slug or snail eggs maybe.
Were they buried in the soil or under leaf litter; or were they right on top as in the picture? What is the brown stuff under them?
Not sure if it would be a slug or a snail, you will need an expert for that!
I thought slugs and snails buried their eggs in the soil but maybe if it is very moist, or the soil is hard, they might not bother. A few times I have seen a large snail making a hole for its eggs - it shaped its foot into a kind of trowel and pushed it right down into the soil, at least a couple of inches!
Had a search online but couldn't find much. It seems that slugs hide their eggs away too, though maybe not always dig holes.
while slime moulds were orginally classed with fungi, they no longer are. They are now classed within the Amoebozoa as amoeboid protozoa. More info about them can be found here. Slime moulds diverged from the lineage which eventually split to form the fungi kingdom and the entire animal kingdom. In other words they are as closely related to us as they are to fungi ... There is a nice phylogenetic tree here showing the relationships.
Looking at the photos here (http://www.hainaultforest.co.uk/7Slime%20moulds.htm), I think they are Arcyria cinerea - unless there are other slime moulds that look the same that I've not seen yet.
I've just ordeerd a book about slime moulds - something new for me to understand!
My thanks to Jen - I've marked the answer as correct.